How to Step back to caller in break mode

P

pamelafluente

When we break execution the compiler is very smart to highlight all
the functions
which have been called.

Several times I have though that if I am for instance on

Sub Anything()

and this is highlighted, I would like step back to the code where
there is the last call to this sub.
What I do is an annoying manual search the other highlighed line where
this Sub is called.

I never figured out if there is some way (menu or function key) to
step back, this avoiding the manual search.

Anyone knows about that? If there isn't such a feature I think it
would be quite useful for debugging...

-P
 
L

lord.zoltar

Are you looking for the Call Stack? I'm not sure but...
When in debug mode, you should see a window titled Call Stack. This
will show the order of function calls to the breakpoint.
double-clicking on a function name in this window will jump you to that
line in the code view.
 
P

pamelafluente

Yes!! thanks, that would do it (I was missing this one).

(It would probably be useful also to have a new context menu item or
key to step back from
the selected line)

Thanks !

-P

(e-mail address removed) ha scritto:
 

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

Top