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
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 |
---|---|---|
| Insert | Click this button to create a new watch. (单击此按钮可创建新手表。) |
![]() | Delete | Click this button to remove the selected watch from the list. |
![]() ![]() | Alt+UpAlt+Down | Use these buttons to change the order of watches. |
![]() | Ctrl+D | Use this button to create a copy of the selected watch. |
![]() | 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.
|
Variable types #
The icon on the left of each variable indicates its type:
-
: static
-
: field
-
: array
-
: primitive
-
: object 对象
-
: parameter 参数
来源于:https://www.jetbrains.com/help/idea/debug-tool-window-variables.html