Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
IF DEBUG?
Message
De
30/10/2001 08:40:11
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
30/10/2001 08:36:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00574934
Message ID:
00574969
Vues:
24
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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform