Debugger.IsAttached Property


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

Namespace:   System.Diagnostics
Assembly:  mscorlib (in mscorlib.dll)

Public Shared ReadOnly Property IsAttached As Boolean

Property Value

Type: System.Boolean

true if a debugger is attached; otherwise, false.

Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top