Share via


LanguageService.IsDebugging Property

Definition

Determines if the debugger is active.

public:
 property bool IsDebugging { bool get(); };
public:
 property bool IsDebugging { bool get(); };
public bool IsDebugging { get; }
member this.IsDebugging : bool
Public ReadOnly Property IsDebugging As Boolean

Property Value

This property returns true if the debugger is active; otherwise, returns false.

Remarks

A debugger is active if the debug mode does not equal DBGMODE_Design (from the DBGMODE enumeration); this is set when Visual Studio calls the OnModeChange method.

This method is typically called from the ViewFilter class to determine if certain actions can or should be taken.

Applies to