Compartilhar via


Process2.IsBeingDebugged Property

Gets a value indicating if the program is being debugged.

Namespace:  EnvDTE80
Assembly:  EnvDTE80 (in EnvDTE80.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: Boolean
true if the program is being debugged, otherwise false.

Remarks

The program may change debug states before this function call has a chance to return.

.NET Framework Security

See Also

Reference

Process2 Interface

EnvDTE80 Namespace

Other Resources

How to: Compile and Run the Automation Object Model Code Examples