Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IF DEBUG?
Message
From
30/10/2001 09:30:51
Jonathan Cochran
Alion Science and Technology
Maryland, United States
 
 
To
30/10/2001 07:44:35
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00574934
Message ID:
00575006
Views:
20
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!!!!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform