Debugger.IsAttached Property

Definition

Gets a value that indicates whether a debugger is attached to the process.

public:
 static property bool IsAttached { bool get(); };
public static bool IsAttached { get; }
static member IsAttached : bool
Public Shared ReadOnly Property IsAttached As Boolean

Property Value

true if a debugger is attached; otherwise, false.

Applies to