# Run actions

Run menu actions:

Name | Function | Shortcut
--- | --- | ---
Various step commands | These commands allow you to step through code being debugged. Only visible when debug perspective is activated. |
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. Only visible when debug perspective is activated. |
Run Last Launched | This command allows you to quickly repeat the most recent launch in run mode (if that mode is supported). | Ctrl + F11
Debug Last Launched | This command allows you to quickly repeat the most recent launch in debug mode (if that mode is supported). | F11
Run History | Presents a sub menu of the recent history of launch configurations launched in run mode |
Run As | Presents a sub menu of registered run launch shortcuts. Launch shortcuts provide support for workbench or active editor selection sensitive launching. |
Run... | This command realizes the launch configuration dialog to manage run mode launch configurations. |
Debug History | Presents a sub menu of the recent history of launch configurations launched in debug mode. |
Debug As | Presents a sub menu of registered debug launch shortcuts. Launch shortcuts provide support for workbench or active editor selection sensitive launching. |
Debug... | This command realizes the launch configuration dialog to manage debug mode launch configurations. |
Watch | This command is used to create a watch item. A watch item is an expression in the Expressions view whose value is updated as you debug. |
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. | Ctrl + Shift + I
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. | Ctrl + Shift + D
Execute | Within the context of the Java snippet editor, this command allows you to evaluate an expression but does not display a result. | Ctrl + E
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. | Ctrl + Shift + B
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). |
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). |
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. |

Debugger
Local Debugging
Remote Debugging

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

Debug View
Debug Preferences
Run and Debug toolbar actions