PyCharm 2017.2 Help

Inspecting Watched Items

Introduction

PyCharm 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/2017.2/debuggerInspectReference.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/2017.2/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/2017.2/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.
Last modified: 26 October 2017

See Also