CLion 2016.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.

/help/img/idea/cl_inspectWatchesWindows.png

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 /help/img/idea/show-watches.png 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 /help/img/idea/show-watches.png toggle-button on the toolbar of the Watches pane.

Inspecting references

To inspect a reference

  1. Select the item to be inspected on the Variables or Watches pane.
  2. On the context menu, choose Inspect.
    /help/img/idea/cl_inspectWatches.png

See Also

Last modified: 22 November 2016