Execution control commands allow you to change the execution state of code being executed.
Command |
Name |
Description |
Availability |
---|---|---|---|
Resumes a suspended thread. |
Context menu, Run menu and view action | ||
Steps into the highlighted statement. |
Context menu, Run menu and view action | ||
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 | ||
Steps out of the current method. This option stops execution after exiting the current method. |
Context menu, Run menu and view action | ||
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 | ||
Terminates the selected debug target. |
Context menu, Run menu and view action | ||
Terminate & Relaunch | Terminates the selected debug target and relaunches it. | Context menu | |
Terminates the selected debug target and removes it from the view. |
Context menu | ||
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