Program.IsBeingDebugged Property

Gets whether or not a program is being debugged when this property is called.

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

Syntax

'Declaration
ReadOnly Property IsBeingDebugged As Boolean
'Usage
Dim instance As Program 
Dim value As Boolean 

value = instance.IsBeingDebugged
bool IsBeingDebugged { get; }
property bool IsBeingDebugged {
    bool get ();
}
function get IsBeingDebugged () : boolean

Property Value

Type: System.Boolean
The Boolean value, true, if the program is being debugged, otherwise returns 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

See Also

Reference

Program Interface

Program Members

EnvDTE Namespace