Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Breakpoints not being honored???
Message
From
18/02/2011 07:47:25
 
 
To
18/02/2011 07:37:16
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01500604
Message ID:
01500684
Views:
44
>>We have a couple of large VFP9 SP1 projects (forms, classes, etc.) where in form code we put a breakpoint and we open the debugger and then we run and the breakpoint doesn't stop the code.
>>
>>Does anyone have a fix for this?
>>
>>We hate putting SUSPENDs in the code.
>
>You can put a condition around it:
>
>IF SET("DEVELOPMENT") = "ON" and GETENV("USERDOMAIN") = "MYDOMAIN"    && etc specific for you, check sys(0) or whatever
>     SET STEP ON
>           *or*
>     ASSERT .F. && no need for condition for this
>ENDIF
>
I believe SET STEP ON is ignored during run time so there is no real need to check for DEVELOPMENT
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform