Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Debugger question
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00365161
Message ID:
00365166
Views:
14
>This is for VFP 5.
>
>I want to stop and call up the debugger when a certain expression is true. The only way I could think of was to put lcVar = "Value" in the watches and set a breakpoint. The problem is that the result of that expression keeps fluctuating between not being able to be evaluated and .F. as the scope changes. I don't want it to stop when this happens. I _only_ want it to stop when the expression is true.
>
>It seems like this should be a simple thing, but I'm not seeing it.
>
>Any ideas?
>
>Thanks,
>
>Michelle

Michelle,

IF somecondition = .t.
SET STEP ON
ENDIF
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform