Post Reply 
debugging
08-30-2015, 02:15 PM
Post: #1
debugging
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?
Find all posts by this user
Quote this message in a reply
08-30-2015, 02:57 PM (This post was last modified: 08-30-2015 02:58 PM by Tim Wessman.)
Post: #2
RE: debugging
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.

TW

Although I work for HP, the views and opinions I post here are my own.
Find all posts by this user
Quote this message in a reply
08-30-2015, 05:40 PM
Post: #3
RE: debugging
(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
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 2 Guest(s)