Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "IsDebuggerPresent" in [All]

kernel32

.

static extern bool CheckRemoteDebuggerPresent(SafeHandle hProcess, [MarshalAs(UnmanagedType.Bool)]ref bool isDebuggerPresent);

.

Checks for RemoteDebugger on the 'hProcess'. The "remote" in CheckRemoteDebuggerPresent does not imply that the debugger necessarily resides on a different computer; instead, it indicates that the debugger resides in a separate and parallel process. Use the IsDebuggerPresent function to detect whether the calling process is running under the debugger.

.
.
Summary
.

Private Declare Function IsDebuggerPresent Lib "kernel32" () As Integer

.

static extern bool IsDebuggerPresent();

.

Private Declare Function IsDebuggerPresent Lib "kernel32" () As Integer

.

        If IsDebuggerPresent = 1 Then

.

   if (IsDebuggerPresent() == true) {

.
Documentation
[IsDebuggerPresent] on MSDN

 
Access PInvoke.net directly from VS: