Run and debug actions

Run and Debug Actions

Toolbar Button

Command

Description

Run button

Run

This command re-launches the most recently launched application.

Debug button

Debug

This command re-launches the most recently launched application under debugger control.

Run Menu

Debug Last Launched

This command allows you to quickly repeat the most recent launch in debug mode (if that mode is supported).

Run Menu

Run Last Launched

This command allows you to quickly repeat the most recent launch in run mode (if that mode is supported).

Run Menu

Run History

Presents a sub menu of the recent history of launch configurations launched in run mode

Run Menu

Run As

Presents a sub menu of registered run launch shortcuts. Launch shortcuts provide support for workbench or active editor selection sensitive launching.

Run Menu

Run...

This command realizes the launch configuration dialog to manage run mode launch configurations.

Run Menu

Debug History

Presents a sub menu of the recent history of launch configurations launched in debug mode.

Run Menu

Debug As

Presents a sub menu of registered debug launch shortcuts. Launch shortcuts provide support for workbench or active editor selection sensitive launching.

Run Menu

Debug...

This command realizes the launch configuration dialog to manage debug mode launch configurations.

Run Menu

Various step commands

These commands allow you to step through code being debugged.

Run Menu

Inspect

When a thread suspends, this command uses the Expressions view to show the result of inspecting the selected expression or variable in the context of a stack frame or variable in that thread.

Run Menu

Display

When a thread suspends, this command uses the Display view to show the result of evaluating the selected expression in the context of a stack frame or variable in that thread. If the current active part is a Java Snippet Editor, the result is displayed there.

Run Menu

Run Snippet

Within the context of the Java snippet editor, this command allows you to evaluate an expression but does not display a result.

Run Menu

Run to Line

When a thread is suspended, it is possible to resume execution until a specified line is executed. This is a convenient way to suspend execution at a line without setting a breakpoint.

Run Menu

Toggle Line Breakpoint

This command allows you to add or remove a Java line breakpoint at the current selected line in the active Java editor.

Run Menu

Add Java Exception Breakpoint

This command allows you to create an exception breakpoint. It is possible to suspend the execution of thread or VM when an exception is thrown by specifying an exception breakpoint. Execution can be suspended at locations where the exception is uncaught, caught, or both.

Run Menu

Toggle Method Breakpoint

This command allows you to add or remove a method breakpoint for the current binary method. The binary method can be selected in source of a Java class file editor, or be selected in any other view (such as the Outline view).

Run Menu

Toggle Watchpoint

This command allows you to add or remove a field watchpoint for the current Java field. The field can be selected in the source of a Java editor, or be selected in any other view (such as the Outline view).

Related concepts

Debugger
Local Debugging
Remote Debugging

Related tasks

Running and Debugging
Connecting to a remote VM with the Remote Java application launch configuration
Line breakpoints
Setting method breakpoints
Catching exceptions

Related Reference

Debug View
Debug Preferences
Run and Debug actions

Legal notices