This documentation is archived and is not being maintained.

Debugger.IsAttached Property

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

[Visual Basic]
Public Shared ReadOnly Property IsAttached As Boolean
public static bool IsAttached {get;}
public: __property static bool get_IsAttached();
public static function get IsAttached() : Boolean;

Property Value

true if a debugger is attached; otherwise, false.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

Debugger Class | Debugger Members | System.Diagnostics Namespace