Table of Contents

Method CanAddWatch

Namespace
Alternet.Scripter.Debugger.UI.AlternetUI
Assembly
Alternet.Scripter.Debugger.UI.AlternetUI.v10.dll

CanAddWatch()

Determines whether a watch can be added in the current debugging session.

public virtual bool CanAddWatch()

Returns

bool

true if the debugger is available and its state is Stopped; otherwise, false.

Remarks

This method checks the state of the debugger to determine if adding a watch is allowed. A watch can only be added when the debugger is stopped.