JetBrains Rider 2019.2 Help

Watching Variables

If you want to evaluate a number of variables or expressions in the context of the current frame, and view all of them simultaneously, you can create watches for them. The values of the watched variables and expressions are updated with each step through the application, but are only visible when the application is suspended. Unlike the evaluated expressions, active watches are saved as a part of the solution.

Open the Watches pane

By default, the Watches pane is hidden and the watches are shown in the Variables pane.

  • To have the Watches pane displayed separately and view the configured watches in it, release the Show watches in Variables tab toggle button on the toolbar of the Variables pane. By default, the button is pressed.

  • To hide the Watches pane and view the watches in the Variables pane, press the Show watches in Variables tab toggle button on the toolbar of the Watches pane.

To add an item to a watch

  • In the Watches pane, press Insert or click icons general add svg and then enter the name of a variable or an expression.

  • On the Variables pane, or in the Result view of the Evaluate dialog right-click the desired item and choose Add to Watches.

  • Select the desired item in the Variables pane and drag it to the Watches pane.

  • Select a variable or expression in the editor and then drag it to the Watches pane or right-click it and choose Add to Watches.

To remove a watch

  1. In the Watches pane, select a watch to be deleted.

  2. Press Ctrl+R, D or choose Remove Watch from the context menu.

Last modified: 15 October 2019