# Execution Control Commands

Execution control commands allow you to change the execution state of code being executed.

Java Execution Control Commands
Command | Name | Description | Availability
--- | --- | --- | ---
| Resume | Resumes a suspended thread. | Context menu, Run menu and view action
| Step Into | Steps into the highlighted statement. | Context menu, Run menu and view action
| Step Over | Steps over the highlighted statement. Execution will continue at the next line either in the same method or (if you are at the end of a method) it will continue in the method from which the current method was called. The cursor jumps to the declaration of the method and selects this line. | Context menu, Run menu and view action
| Step Return | Steps out of the current method. This option stops execution after exiting the current method. | Context menu, Run menu and view action
| Suspend | Suspends the selected thread of a target so that you can browse or modify code, inspect data, step, and so on. | Context menu, Run menu and view action
| Terminate | Terminates the selected debug target. | Context menu, Run menu and view action
| Terminate & Relaunch | Terminates the selected debug target and relaunches it. | Context menu
| Terminate & Remove | Terminates the selected debug target and removes it from the view. | Context menu
| Terminate/Disconnect All | Terminates all active launches in the view. | Context menu

See the Debug View for more information.

Debugger
Local debugging
Remote debugging

Changing debugger launch options
Connecting to a remote VM with the Remote Java application launch configuration
Disconnecting from a VM
Launching a Java program
Preparing to debug
Resuming the execution of suspended threads
Running and debugging
Stepping through the execution of a program
Suspending threads

Debug View
Debug preferences
Run Menu