Returns a Boolean indicating whether or not a debugger is attached to the process.
[Visual Basic] Public Shared ReadOnly Property IsAttached As Boolean [C#] public static bool IsAttached {get;} [C++] public: __property static bool get_IsAttached(); [JScript] public static function get IsAttached() : Boolean;
true if a debugger is attached; otherwise, false.
Debugger Class | Debugger Members | System.Diagnostics Namespace