Creating a Watch

See Also

A watch enables you to track the changes in the value of a variable or expression during program execution. You can create a watch directly from the Source Editor or by using the New Watch dialog box.

To create a watch from the Source Editor:

  1. Select the variable or expression in the Source Editor, right-click, and choose New Watch.

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

  2. Click OK.

To create a watch using the New Watch dialog box:

  1. From the main menu, choose Debug and choose New Watch.
  2. In the New Watch dialog box, type the variable or expression.
  3. Click OK.

Notes

See Also
Creating a Fixed Watch
Modifying the Value of a Variable
New Watch Dialog Box

Legal Notices