Java
for macOS
Ctrl+Alt+S
Use this page to define the way data is displayed in the Java debugger.
Item | Description |
---|---|
Autoscroll to new local variables | Automatically scrolls to new variables that appear in the scope when stepping. |
Predict condition values and exceptions based on data flow analysis. | Enables editor hints for boolean expressions or exceptions that are known beforehand based on information from data flow analysis. For more details, see Inline variables view. |
Show |
|
Show type for strings | Shows type for java.lang.String instances. When disabled, this type can be identified by the enclosing double quotes. |
Show hex value for primitives | Adds hexadecimal format for byte , short , int , long , and char types. When enabled, both decimal and hexadecimal formats are shown. |
Hide null elements in arrays and collections | Excludes null references when displaying the contents of arrays and classes that implement Collection (not applicable to descendants of Map ). |
Auto populate Throwable object's stack trace | When the program is suspended after throwing an exception or error, its stack trace doesn't have any elements in it yet. For the stack trace to be populated, you have to call getStackTrace() on this Throwable . When Auto populate Throwable object's stack trace is enabled, IntelliJ IDEA does this for you. |
Enable alternative view for Collection classes | Select this option to display contents of classes that implement Collection , Map , or List in a more convenient format (for example, to display each map entry as a key-value pair). |
Enable toString() object view | Allows you to configure which classes use the result of
|