This documentation is archived and is not being maintained.

Process2.IsBeingDebugged Property 

Gets a value indicating if the program is being debugged.

Namespace: EnvDTE80
Assembly: EnvDTE80 (in envdte80.dll)

bool IsBeingDebugged { get; }
/** @property */
boolean get_IsBeingDebugged ()

function get IsBeingDebugged () : boolean

Property Value

true if the program is being debugged, otherwise false.

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