Debugger.IsAttached Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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
public static bool IsAttached { get; }

Property Value

Type: System..::.Boolean
true if a debugger is attached; otherwise, false.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0


Windows Phone

See Also


Debugger Class

System.Diagnostics Namespace