Program.IsBeingDebugged Property
Gets whether a program is being debugged when this property is called.
Namespace: EnvDTE
Assembly: EnvDTE (in EnvDTE.dll)
Syntax
'Declaration
ReadOnly Property IsBeingDebugged As Boolean
bool IsBeingDebugged { get; }
property bool IsBeingDebugged {
bool get ();
}
abstract IsBeingDebugged : bool with get
function get IsBeingDebugged () : boolean
Property Value
Type: System.Boolean
The Boolean value, true, if the program is being debugged; otherwise, false.
Remarks
IsBeingDebugged returns true if the program is being debugged when this property is called. IsBeingDebugged returns false if the program is not being debugged.
Note
The program may change debug states even before this function call has a chance to return.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.