Creating a Watch

See Also

A watch enables you to track the changes in the value of a variable or expression during program execution. The Watches window lists all of the watches you have defined for all of your IDE projects. You can open the Watches window by choosing Window > Debugging > Watches (Alt-Shift-2). You can create a watch directly from the Source Editor.

To create a watch from the Source Editor:

  1. Select the variable or expression in the Source Editor, right-click, and choose New Watch (Ctrl-Shift-F7).

    The New Watch dialog box opens with the variable or expression entered in the text field.

  2. Click OK.

    The Watches window opens with the new watch selected.

Notes:

See Also
Creating a Fixed Watch
Variables and Expressions in the IDE
Evaluating an Expression

Legal Notices