IntelliJ IDEA 2017.3 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

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

Autoscroll to new local variablesSelect this option to automatically scroll to new variables that appear in the scope when stepping.
ShowIn 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 stringsSelect 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.
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 theadd class, add class pattern and the delete buttons. Use the checkboxes next to the class names to temporarily enable or disable particular filters.
  • add class: click this button to add a class to the list using the Choose Class dialog.
  • add class pattern: 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.
  • delete: click this button to remove a filter from the list.
Last modified: 6 March 2018

See Also