Debug Function Call

  • Thread starter Thread starter Hugh Horton
  • Start date Start date
H

Hugh Horton

I'll pose this in general terms first. Is there a way to
determine where a function is being called from?
 
yes..if you halt your code (either set a break point..or hit ctrl-break) you
then launch the debugger.

While in the debug mode (you have to be in debug mode), you can then go
view->Call stack

You can also just whack ctrl-L to view this stack....
 
But as far as determining which function called it, I
don't know of anyway to progamatically determine that.


Chris Nebinger
 
Thanks much. I found the specific caller I was looking
for however the call stack is no good if the function is
called from, for instance the criteria for a query. The
call stack reports "non VB Code" or something like that,
which is at least a clue.
 
Back
Top