To add a new watch

  1. If the watch window is not visible, click Watches on the debugger View menu.

  2. Click the New Watch new_watch_btn button on the toolbar.

  3. Enter an expression to watch.

  4. Give the watch a label to make it easier to identify them when you have lots of watches.

  5. Click OK.

Tip

  • You can also use the Ctrl+W keyboard shortcut to create a new watch.

  • Use the system variables dialog to quickly watch the value of a system variable.

  • You can also double-click on an empty area of the watch window to create a new watch.