Customize Data Views
Use this dialog to configure the debugger data view options. Note that the same settings can be alternatively configured on the Debugger page in the Settings dialog.
|Autoscroll to new local variables||Select this option to automatically scroll to new variables that appear in the scope when stepping.|
|Show value tooltip||Select this option to enable automatic display of tooltips for values. |
To illustrate, let's assume that there is a statement like this in your code:
When this statement is executed in the debugger, you'll see a line looking similar to this in the Variables pane:
with the line break shown as
If the Show value tooltip option is on and you click this line and then hold the mouse pointer on it, you’ll see a yellow area (the "tooltip") in which the value of
with a real line break in place of
If this option is disabled, press Alt to display a value.
|Show||In this section, select which elements you want the Debugger to display: |
|Show hex value for primitives||Select this option if you want numeric variables to be displayed in the hexadecimal format.|
|Hide null array elements||Select this option if you want null array elements to be omitted.|
|Enable alternative view for Collection classes||Select this option to display collections and maps in a more convenient format.|
| Enable || In this section, you can select classes if you need them and their descendants to be presented as a result of the |
Java Type Renderers tab
On this tab, you can create and customize rendering schemes for data presentation in the debugger Frame view.
If no rendering scheme is currently defined, start by clicking .
|Click this icon to add a new rendering scheme to the list.|
|Click this icon to remove the selected scheme from the list.|
|Click this icon to create a copy of the selected scheme.|
|Click these icons to move the selected item one line up or down in the list. |
Note that the order determines which renderer is used in case of ambiguity stemming of class inheritance.
|Renderer name||Specify the name of a new renderer, or edit an existing renderer name.|
|Apply renderer to objects of type (fully-qualified name)||Specify the object type that will be represented by this renderer. Enter a fully qualified object name, or click the Browse button and choose the desired type from the list in the Renderer Reference Type dialog.|
|When rendering a node||This option determines how an object is displayed in the debugger when nodes are collapsed: |
|When expanding a node||This option determines how an object is displayed in the debugger when nodes are expanded. |
Normally, expanding a node in the debugger lists the object's member variables (using the renderer appropriate for the corresponding object types). This option lets you override this behavior and select a single expression or a series of expressions to be displayed. You may use this to limit the amount of information displayed, or to be more precise in how the information is presented.
If you select the checkbox in the On-demand column next to a renderer, the evaluation of this expression will be done on demand. Simply click this expression when you need to evaluate it in the Variables, Watches or other view instead of having it evaluated automatically.
You can use code completion (Ctrl+Space) when defining expressions.
|Append default children||Select this checkbox to add default children to the list of expressions. This checkbox is only available when the checkbox Use list of expressions is selected.|