Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
101 VFP Things, Part 7
Message
 
 
To
15/12/2000 11:25:19
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00451655
Message ID:
00454008
Views:
21
Does this work if Debug Info is not included in an application?

P.S. I missed this originally. How about adding the command or key concept you are explaining in the subject line?

>>There is a new function called AStackInfo() that fills an array with info about the entire calling stack. ... 3 and 4 are the Object and the Object source filename (Larry, I think this is another way to get the Instance name of "THIS") ...
>
>Ok, in reviewing, 3 and 4 give the class or form name, not the actual instance. But if the source is available, it will be possible to back track to find this out. For example, in this code:
>
>
>loObject = CREATEOBJECT('myclass')
>
>DEFINE class Myclass as Custom
>
>	PROCEDURE Init
>	ASTACKINFO(aA)
>	suspend
>	ENDPROC
>ENDDEFINE
>aa[1, 6] equals "loObject = CREATEOBJECT('myclass')". Another use is to serach through the sources of the call stack to see if a READ EVENTS has been issued.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform