IntelliJ IDEA 2018.2 Help


File | Settings | Build, Execution, Deployment | Debugger | Data Views | Java for Windows and Linux
IntelliJ IDEA | Preferences | Build, Execution, Deployment | Debugger | Data Views | Java for macOS
icons general settings svg

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



Autoscroll to new local variables

Select this option to automatically scroll to new variables that appear in the scope when stepping.


In this section, select which elements you want the Debugger to display:
  • Declared type

  • Synthetic fields

  • $val fields as local variables

  • Fully qualified names

  • Object id

  • Static fields

  • Static final fields

Show type for strings

Select this option if you want to show type for pure strings.

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.

Auto populate Throwable object's stacktrace

Select this option to automatically display stacktrace for exception objects in the Variables view.

Enable alternative view for Collection classes

Select this option to display collections and maps in a more convenient format.

Enable toString() object view

In this section, you can select classes if you need them and their descendants to be presented as a result of the toString() method call while debugging. Use the following controls:
  • For all classes that override toString() method: select this option to show all classes as toString().

  • For classes from the list: populate the list of classes to be shown as toString(), using the icons toolbarDecorator addClass, icons toolbarDecorator addPattern and the icons general remove svg buttons. Use the checkboxes next to the class names to temporarily enable or disable particular filters.

  • icons toolbarDecorator addClass: click this button to add a class to the list using the Choose Class dialog.

  • icons toolbarDecorator addPattern: click this button to add a custom class filter using the New Filter dialog. To define a filter, enter a string pattern, e.g. *.Test, javax.swing.*, etc.

  • icons general remove svg: click this button to remove a filter from the list.

Last modified: 20 November 2018

See Also