# Options Window: Java: Java Debugger

Use to customize options for the Java debugger.

General

This category enables you to set custom breakpoint and Debugger Console operations.

Element | Description
--- | ---
Stop on uncaught exceptions | Determines whether execution of the application should suspend when an uncaught exception is thrown.
Apply code changes after save (in "Compile on Save" mode only) | Applies code changes you make during a debugging section to the code. This option works only when the Compile on Save mode is enabled in the project properties. To check whether the Compile on Save mode is enabled, right-click the project, choose Properties, and select the Compiling category.
New breakpoints suspend | Suspends the selected threads when a new breakpoint is reached. You can choose to suspend all threads in a multi-threaded application, only the current thread, or do not suspend any thread, just write the output to the log.
Steps resume | Determines whether only the current thread or all threads are resumed when stepping during a debugging session.
Open Debugger Console for debugging sessions | Opens the Debugger Console automatically when a debugging sessions starts.
Reuse Editor when displaying source code | Displays the source file containing the called method in an existing editor window instead of opening a new editor window.

Step Filters

This category enables you to use step filters to specify the language constructs that are filtered while stepping. You can enable step filters for synthetic methods, static initializers, constructors, and specify patterns for Java classes.

Element | Description
--- | ---
Step through the filters to reach unfiltered code | Steps through a filtered location to the next unfiltered code.

Variable Formatters

This category enables you to create and edit variable formatters, which are used to display variables, for example, in the Variables view.

There are several formatters that are provided by default. To add a formatter, use the Add button on the right side of the pane.

Visual Debugger

This category enables you to modify the options for using the visual debugger when debugging GUI applications.

Element | Description
--- | ---
Upload Visual Debugging agent to target application | Enables you to use the Visual Debugger and take GUI snapshots. This option is enabled by default.
Track locations of component hierarchy changes | Enables the Go to Hierarchy Addition task in the context menu in a GUI snapshot. This option is disabled by default because it can increase the debugging overhead.

Related Topics

Developing Applications with NetBeans IDE,

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.