Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Runaway Debugger!
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01025955
Message ID:
01025960
Views:
16
>Hi Gurus...
>
>Question
>
>If you want to bring up the DEBUGGER in your code, a simple SET STEP ON will do.
>
>But if the code happens to be the TIMER code in a TIMER object, like this...
>
>
>TIMER.TIMER
>
>this.Enabled = .f.
>
>ACTIVATE SCREEN
>?
>? "BEFORE STEP AND ECHO"
>?
>SET STEP ON
>SET ECHO ON
>
>Local lnArea, lcday, lctime, lbRefresh, ldCurrentDate, ldDialDate, llDoSkippedDial
>lnArea = Select(0)
>
>
>The Debug Window never comes up.... it keeps firing and running the code, ignoring the SET STEP ON.
>
>How do you get it to observe the SET STEP ON, in this case, for debugging?
>
>Thanks!
SET ASSERTS ON
ASSERT .f.
Tools->Options->Debug Frame->Display Timer Events, but I am not sure if this will works.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform