Debugger.IsAttached Property
Gets a value that indicates whether a debugger is attached to the current process.
Namespace: System.Diagnostics
Assembly: mscorlib (in mscorlib.dll)
Syntax
public static bool IsAttached { get; }
Property Value
true if a debugger is attached to the current process; otherwise, false.
Version Information
Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.
See Also
Reference
Debugger Class
Debugger Members
System.Diagnostics Namespace