Java Type Renderers
for Windows and Linux
IntelliJ IDEA allows you to specify how different objects are displayed in the debugger on a class-by-class basis. You can assign the expressions to be displayed rather than rely on the object's String representation.
For example, if an object represents a user, you may want it to be represented by login names; or, for a cache entry object, its content may be appropriate. IntelliJ IDEA refers to these as type renderers.
All object types are supported (including primitive types and arrays).
If no rendering scheme is defined, this dialog does not show any controls. To start working with renderers, click .
|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 Browse 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.
|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.|