Like stepping through frames, but hate spamming your undo queue? Change your frame forward and back hotkeys so that they temporarily turn off the undo queue when they run, and you wont have to hit z 50 times just to get to the place where you actually need to undo something. Go into your hotkey editor and replace the command for frame forward and back with the following:
//forward undoInfo -stateWithoutFlush off; playButtonStepForward; undoInfo -stateWithoutFlush on;
//back undoInfo -stateWithoutFlush off; playButtonStepBackward; undoInfo -stateWithoutFlush on;

question where do i put this script, do i just run it in the script editor?
thanks
These are short enough that they don't need to be encapsulated in a separate mel file. In this case it's easier to just copy the code into the hotkey editor, shelf editor, or marking menu editor, depending on how you want to run it. The first three lines steps forward, the next three lines step back, so they're two separate things that should get their own hotkeys or what have you.