Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Debugger question
Message
From
02/05/2000 13:51:23
 
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00365161
Message ID:
00365217
Views:
15
Try this:

Assume llOk = .T. and you want to know when it switches to .F.

Set a watch for this expression, and set the debugger to break when it's value changes.

IIF(TYPE("llOk")<>"L", .T., llOk)

This way, when it's out of scope the expression will return .T., so the debugger won't suspend execution.

Hope this helps,

Chris


>Thanks, but that doesn't help. As I told Wayne, if I knew where to put the code, I wouldn't need the debugger.
>
>I need something I can put in the debugger as a breakpoint that will stop the program when it's true.
>
>Thanks,
>
>Michelle
>
>
>>>You put this code not in the debugger, but right into your methods/PRGs in appropriate place.
>>
>>Also you can use the ASSERT command - check the help for it.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform