IsDebuggerPresent The IsDebuggerPresent function determines whether the calling process is running under the context of a debugger.
VB4-32,5,6
Declare Function IsDebuggerPresent Lib "kernel32" () As Long |
VB.NET
System.Diagnostics.Debugger.IsLogging |
Operating Systems Supported |
Requires Windows NT 4.0 or later; Requires Windows 98 or later |
If the current process is running in the context of a debugger, the return value is nonzero.
If the current process is not running in the context of a debugger, the return value is zero. |
|