Debugger.IsAttached Property


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

 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