IsDebuggerPresent
Purpose
Returns True if the program is currently running in the Debugger.
Return Type
Syntax
Use WinKern.pkg
(IsDebuggerPresent())
What it Does
IsDebuggerPresent is called to determine if the program is running in the DataFlex Studio and the debugger is attached to it.
This is a Windows API call; refer to the MSDN documentation for information about IsDebuggerPresent.
Example
Procedure Test
If (IsDebuggerPresent()) Begin
// do something
End
End_Procedure