Idea 调试窗口 变量 Debug Tool Window. Variables #

This toolbar appears only when the Watches pane is hidden so the configured watches are displayed in the Variablespane. Hiding/showing the Watches pane is controlled through the icons debugger watch svg toggle button:

仅当“监视”窗格处于隐藏状态时,才会显示此工具栏,以便在“变量”窗格中显示已配置的监视。隐藏/显示“手表”窗格是通过切换按钮控制的:

  • When the button is pressed, which is its default status, the Watches pane is hidden and the toolbar is shown in the Variables pane. So doing, the focus is with the Debugger tab.

  • When the button is released, the toolbar moves to the Watches pane.

 按下按钮(默认状态)时,将隐藏“监视”窗格,工具栏将显示在“变量”窗格中。这样做,重点是调试器选项卡。

释放按钮后,工具栏将移至“监视”窗格。

Item

Shortcut

Description

icons general add svg

Insert

Click this button to create a new watch. (单击此按钮可创建新手表。)

icons general remove svg Delete

Click this button to remove the selected watch from the list.

icons actions previousOccurence svgicons actions nextOccurence svg Alt+UpAlt+Down

Use these buttons to change the order of watches.

icons actions copy svg Ctrl+D

Use this button to create a copy of the selected watch.

Show watches in Variables tab

Show watches in Variables tab

在Variables标签中显示手表

Use this toggle button to have the Watches pane hidden or shown. By default, the button is pressed and displayed on the toolbar of the Variables pane. Consequently, the Watches pane is hidden and the watches are shown in theVariables pane.
  • To have the Watches pane displayed separately and view the configured watches in it, release the Show watches in Variables tab toggle button. The Watches pane appears with the Show watches in Variables tabtoggle button on the toolbar.

  • 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. The toggle button returns to the default location on the toolbar of the Variablespane.

Variable types #

The icon on the left of each variable indicates its type:

  • icons nodes static svg: static

  • icons nodes field svg: field

  • icons debugger db array: array

  • icons debugger db primitive: primitive

  • icons debugger db db object: object  对象

  • icons nodes parameter svg: parameter  参数

 来源于:https://www.jetbrains.com/help/idea/debug-tool-window-variables.html

猜你喜欢

转载自blog.csdn.net/nsjlive/article/details/89340317
今日推荐