Program.IsBeingDebugged Property

 

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

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

bool IsBeingDebugged { get; }

Property Value

Type: System.Boolean

The Boolean value, true, if the program is being debugged; otherwise, false.

IsBeingDebugged returns true if the program is being debugged when this property is called. IsBeingDebugged returns false if the program is not being debugged.

System_CAPS_noteNote

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

Return to top
Show: