Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Understanding ASTACKINFO
Message
 
 
To
25/04/2022 13:52:26
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
01684243
Message ID:
01684260
Views:
25
>>Hi,
>>
>>Please explain to me what I don't understand. A form is being open. The INIT should fire first. Then user clicks on a button cmd.Go_Next and the code in method thisform.go_next is executed. This code comes across an error.
>>I analyze the stack. But the method INIT is not in the aProgStack. This is the sample code how I scan through the stack:
>>
>>ASTACKINFO(aProgStack)
>>FOR iEle = 1 TO ALEN( aProgStack, 1 )
>>      
>>NEXT
>>
>>
>>What am I missing?
>
>You got the answer to your question. I just want to add that when I want to know all the events that fire and the order, I use the Event Tracker. For debugging, I often add DEBUGOUT commands in methods to track where I am and what's going on.
>
>Tamar

Thank you. I have never used the Event Tracker; I will check out the help.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform