HP Forums
debugging - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: General Forum (/forum-4.html)
+--- Thread: debugging (/thread-4604.html)



debugging - tigger - 08-30-2015 02:15 PM

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?


RE: debugging - Tim Wessman - 08-30-2015 02:57 PM

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.


RE: debugging - Thomas Klemm - 08-30-2015 05:40 PM

(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