Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
IF DEBUG?
Message
De
30/10/2001 09:30:51
Jonathan Cochran
Alion Science and Technology
Maryland, États-Unis
 
 
À
30/10/2001 07:44:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00574934
Message ID:
00575006
Vues:
19
Although it doesn't tell if the debugger is open, _VFP.StartMode will tell you if you are running your app/exe in the FoxPro environment or not.
_VFP.StartMode = 0 means you are running in the VFP environment.
_VFP.StartMode = 4 means you are running as stand-alone.

Also, borrowing from someone else's post in this thread, you could try something like WEXIST("Visual FoxPro Debugger").

>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!!!!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform