IntelliJ IDEA 13.1.0 Web Help

Use this page to manage the way the data is displayed in the Java debugger.

Item Description
Sort alphabetically Show the nodes in the alphabetical order.
Autoscroll to new local variables Automatically scroll to new variables that appear in the scope when stepping.
Auto tooltips for values Select or clear the check box to enable or disable showing tooltips for values.

A tooltip in this context means a pop-up that provides an alternative, sometimes more convenient presentation of values in the Variables pane.

To illustrate, let's assume that there is a statement like this in your code:

String s = "Hello, World!
                  Hello, World!";

When this statement is executed in the debugger, you’ll see a line looking similar to this in the Variables pane:

                  s = {java.lang.String@62}"Hello, World!
                  Hello, World!"

with the line break shown as \n.

If the Auto tooltips for values 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 s is shown as

Hello, World!
Hello, World!

with a real line break in place of \n.

If the option is off, to show or hide such a tooltip, you should press the key.

Value tooltips delay Specify the delay in milliseconds between the moment when the mouse pointer hovers over an object in the Variables pane, and the moment when a tooltip with the object's value is displayed.
Show declared type Enable showing declared type.
Show synthetic fields Enable showing synthetic fields (automatically generated by the Java compiler).
Show object id Enable showing object IDs.
Show static fields Enable showing static fields.
Show static final fields Enable showing static final fields.
Array start/end index Define the range of array elements to be shown.
Show maximum <number> array elements Define the maximum number of array elements to be shown.

This and the previous setting depend on one another. For example, if the range is 0-100 and the maximum number of elements is 50, IntelliJ IDEA will show elements 0 to 25 and 75 to 99 omitting those in between.

Hide null array elements If selected, the null array elements are omitted.
Enable auto expressions in Variables view The auto expressions mentioned in this option work like this:

The debugger analyzes the context near the breakpoint (the current statement, and one statement before and one after). It does so to find various expressions in the source code (if available) such as, for example, myvar.myfield.

If such expressions don’t contain explicit method invocations, the debugger evaluates the expressions and adds the corresponding values to the debugger tree view (shown in the Variables pane) assuming that these values may be of interest.

In languages such as Groovy, just by looking at an expression, it’s not possible to conclude whether any methods are invoked when evaluating the expression. And such method invocations often cause unwanted side effects. So you may want to turn this option off when debugging Groovy code.

Enable alternative view for Collection classes Present Collections and Maps in a more convenient form.
Enable toString() object view In this group you can select classes if you need them and their descendants to be presented as a result of the toString() method call while debugging.
For all classes that override toString() method Show all classes as toString().
For classes from the list Define the list of classes to be shown as toString(), using the Add Class, Add Pattern and the Remove buttons. Use the check boxes next to the class names to temporarily enable or disable particular filters.
Add class Add a class to the list using the Choose Class dialog.
Add pattern Add a custom class filter using the New Filter dialog. To define a filter, enter a string pattern e.g., *.Test, javax.swing.*, etc.
Remove Remove a file or filter from the list.

See Also




Web Resources: