Run/Debug Actions

Debug Action Set

Toolbar Button

Command

Description

Run

This command runs the selected executable resource. The JDT contributes a Java Application launcher.

Debug

This command runs the selected executable resource, container, or element under debugger control. The JDT contributes two debug launchers:

  • Java Application
  • Remote Java Application

In the resulting Launch dialog, you can indicate whether you are debugging a locally-running or remotely-running program. Here, you can also indicate whether you want local or remote debugging to be the default configuration.

If you choose to run and debug a program remotely, the resulting Configure dialog is where you enter the remote host information such as name, port number, and whether or not to allow termination of the remote VM.

When using remote debugging, you must launch the application first (e.g., on the command line).

Debug Menu

Relaunch Last

This command allows you to quickly repeat the most recent execution under debugger control.

Debug Menu

Various step commands

These commands allow you to step through code being debugged. See Debug View