Adding watch expressions using the Variables view

You can add a watch expression for one or more elements so that you can track their values in the Expressions view.

To add a watch expression:

  1. To open the Variables view if it is not open select Window > Show View > Debug > Variables.
  2. Select the desired entries in the Variables view, right-click, and select Create Watch Expression from the context menu