Partager via


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)

Syntax

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

Platforms

Windows Phone

See Also

Reference

Debugger Class

System.Diagnostics Namespace