>>Hi all,
>>
>>If I am running the debugger and I set a breakpoint on an event which is the result of the last line of code in a method, the Debugger stops, but shows me the first line of code which WILL BE executed in the NEXT method. Is it possible to find the last line of code which WAS executed in the LAST method, or even just to know the name of the last method executed?
>
>i'd usually stop at beginning of method so i can see how it's working.
>
>check the call stack. this won't tell you which methods were called at a parallel level (called all from same method), but it will tell you where you've been. make sense?
Yes. The fact that the call stack does not show parallel level methods is exactly my problem. Of course, this question was generated by my frustration with trying to find a rogue USE statement in one of my methods. I was testing for USED("mytable") in the debugger, so when the USE statement was fired, USED("mytable") returned false, triggering the debugger. I had no way of knowing what method had just fired besides stepping through the ENTIRE form since that nasty USE statement was in the "cleanup code" of a form in the process of beging destroyed.
Boy, sometimes I really miss procedural programming!
Thanks for the response.
Valerie
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement