Table of Contents

Method ShowWatchDialog

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

ShowWatchDialog(string?, bool)

Displays a dialog for managing a watch expression, allowing the user to add or modify a watch.

public virtual void ShowWatchDialog(string? expression, bool addWatch)

Parameters

expression string

The current watch expression to modify, or null if adding a new watch.

addWatch bool

A value indicating whether the dialog is for adding a new watch (true) or modifying an existing one (false).

Remarks

If expression is null and addWatch is false, the method does nothing. When adding a new watch, the user is prompted to enter a new expression. When modifying an existing watch, the user is prompted to update the provided expression.