How to "Step Back"

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all,

When debugging code, sometimes, It would be handy if there is a method to
step back. Since there might be a big gap between if , elseif block. I need
to trace the code.

Clara
 
As for a step backwards I do not know of one. You can grab the yellow arrow
at the left which indicates which line is executing and drag it to wherever
you need it.
 
Hi Jim,

Thank you Jim. What I really mean is to find the last execution step. It is
silly when there is few code, but when there are many if and elseif block, I
think it is valuable.

Clara
 
Clara,

You can drag the yellow arrow to any execution line within the current sub
or function. Or, you can right click on any execution line (still within the
same proc) then select "Set Next Statement".
 
Hi Clara,

If you mean the last execution step in the current procedure, CTRL+DOWN
ARROW will take you to the next sub or function which should be just a few
lines below the last line of the current procedure you were on before
pressing CTRL+DOWN ARROW.
 
As far as I know there is no functionality to support what you are looking
for... code execution is like a like waking up after a night of drinking...
it knows where it is and it can figure out where it needs to go but how it
got there and where the pants went is a complete mystery...
 
Jim,
Now we just need a human version of the View>Call Stack to indicate which
bars we visited and possibly View>Watch Window to tell how much we spent.

NickHK
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top