Debug Function Call

H

Hugh Horton

I'll pose this in general terms first. Is there a way to
determine where a function is being called from?
 
A

Albert D. Kallal

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....
 
C

Chris Nebinger

But as far as determining which function called it, I
don't know of anyway to progamatically determine that.


Chris Nebinger
 
G

Guest

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.
 

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