CLion 2017.3 Help

Inspecting Variables and Watches

On this page:

Introduction

CLion helps inspect any variables or watches item in its own window. For example, if you need to examine several references in detail, you can open an inspection window for each of them. So doing, a separate window is created for each variable or watch reference and all of its child references.

The inspection windows are non-modal, and you can launch as many as of them required. All changes of the references are immediately reflected in the corresponding inspection windows.

cl inspectWatchesWindows

Accessing 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 show watches 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 toggle-button on the toolbar of the Watches pane.

Inspecting references

  1. Select the item to be inspected on the Variables or Watches pane.
  2. On the context menu, choose Inspect.
    cl inspectWatches
Last modified: 27 March 2018

See Also