Options Window: Miscellaneous: Java Debugger
See Also
You use this panel to customize options for the Java debugger.
You can access this panel by choosing Tools > Options from the main menu, clicking the Miscellaneous category and then clicking the Java Debugger tab. Select one of the following categories in the Categories pane on the left side of the window to customize Java debugger options: General, Step Filters, or Variable Formatters.
General
In this category, you can specify the following settings:
- 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). If selected, code changes you make during a debugging section
will be applied 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. From the drop-down link, select the threads that should be suspended 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. When this checkbox is selected, the Debugger Console opens automatically when a debugging sessions starts.
Step Filters
Here you can specify the language constructs that will be filtered while stepping. You can enable step filters for synthetic methods, static initializers, constructors, and specify patterns for Java classes.
- Step through the filters to reach unfiltered code. When selected, this option enables stepping through a filtered location to the next unfiltered code.
Variable Formatters
In this category, you can create and edit variable formatters, which will be 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.
- Upload Visual Debugging agent to target application. This option 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 popup menu in a GUI snapshot.
This option is disabled by default because it can increase the debugging overhead.
-
See Also
- About Debugging Applications
- Debugging Java GUI and JavaFX Applications
- Using the Options Window
Legal Notices