Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Breakpoints not being honored???
Message
From
18/02/2011 07:49:39
 
 
To
18/02/2011 07:47:25
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01500604
Message ID:
01500686
Views:
38
>>>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

Good point. :o) (It's in a list of a bunch of stuff I set when in the IDE like ON KEY, that I want available to me etc)
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Reply
Map
View

Click here to load this message in the networking platform