HP Forums

Full Version: debugging
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
With the debugger I could go through a program (forward). Whenever I missed a step or I want to repeat a step, is there a way to go a step backwards with the debugger to repeat the step?
No, there is not. (not sure exactly which model you're talking about here - I will assume 48/50g type unit)

I've never once in my life seen a debugger that will allow that. You can sometimes move your execution location backwards, but that won't undo anything - just execute it again. It would be up to the programmer to determine if anything actually happened there that would be impacted by running again.

So yes, there is nothing to do except restart.
(08-30-2015 02:57 PM)Tim Wessman Wrote: [ -> ]I've never once in my life seen a debugger that will allow that.

The Online Python Tutor allows to step forward and backwards through a program.

Kind regards
Thomas
Reference URL's