Debug preferences

The following preferences can be set using the Debug Preferences page.

 


Option
Description
Default
Build (if required) before launching
If the workspace requires building, an incremental build will be performed prior to launching an application.
On
Remove terminated launches when a new launch is created
When an application is launched, all terminated applications in the Debug view are automatically cleared.
Off
Reuse editor when displaying source code
The debugger displays source code in an editor when stepping through an application. When this option is on, the debugger will reuse the editor that it opened to display source from different source files. This prevents the debugger from opening an excessive number of editors. When this option is off, the debugger will open a new editor for each source file that needs to be displayed.
On
Save dirty editors before launching
This option controls whether the user will be prompted to save any dirty editors before an application is launched. The allowable settings are:
  • Never - when this option is selected, the user is never prompted to save dirty editors, and editors are not automatically saved.
  • Prompt - when this option is selected, the user is prompted to save dirty editors before launching an application.
  • Auto-save - when this option is selected, any dirty editors are automatically saved before launching (and the user is not prompted).
Prompt
Default perspective for Debug
This setting controls the perspective that is switched to when an application is launched in debug mode. By default, each launch configuration inherits this setting. However, a launch configuration may also override this setting by specifying an explicit perspective in the Common tab.
Debug perspective
Default perspective for Run
This setting controls the perspective that is switched to when an application is launched in run mode. By default, each launch configuration inherits this setting. However, a launch configuration may also override this setting by specifying an explicit perspective in the Common tab.
No perspective change

Related concepts

Debugger
Local Debugging
Remote Debugging

Related Tasks

Changing Debugger Launch Options
Preparing to Debug
Running and Debugging

Related reference

Java search tab
Search menu