Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Eclipse Java Development User Guide
Previous Page Home Next Page

Execution Control Commands

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

Java Execution Control Commands





Resume button


Resumes a suspended thread.

Context menu, Run menu and view action
Step Into button

Step Into

Steps into the highlighted statement.

Context menu, Run menu and view action
Step Over button

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
Run to Return button

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 button


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 button


Terminates the selected debug target.

Context menu, Run menu and view action
Terminate and Relaunch Terminate & Relaunch Terminates the selected debug target and relaunches it. Context menu
Terminate & Remove command in context menu

Terminate & Remove

Terminates the selected debug target and removes it from the view.

Context menu
Terminate All command in context menu

Terminate/Disconnect All

Terminates all active launches in the view.

Context menu

See the Debug View for more information.

Related concepts

Local debugging
Remote debugging

Related tasks

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

Related reference

Debug View
Debug preferences
Run Menu

  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire