Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IF DEBUG?
Message
From
30/10/2001 08:40:11
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
30/10/2001 08:36:44
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00574934
Message ID:
00574969
Views:
25
This works correctly in my spanish version of VFP (even though the windows have different captions). However, it only works if the watch window is open. If I open the debugger, but close the watch window, the question returns ".F.".

Hilmar.

>Tim,
>
>In my code I have the following (don't really know why!)
>
>
>If wExist('watch') or wExist('Watch') or wExist('WATCH')
>   ** Debugger is open
>Else
>   ** Not open
>Endif
>
>
>HTH
>
>Will
>
>>Is there some way to tell if the debugger is being run?
>>
>>I.e. I want something that in pseudocode would look like..
>>
>>IF THE CODE IS BEGIN RUN THROUGH THE DEBUGGER
>>   DO THIS
>>ELSE
>>  DO THIS
>>ENDIF
>>
>>
>>THANKS!!!!
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform