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
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

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

  




 

 

Eclipse Java Development User Guide
Previous Page Home Next Page

Suspending Threads

To suspend an executing thread:

  1. Select the thread in the Debug View.
  2. Click the Suspend button [ Suspend ] in the view toolbar.

The thread suspends its execution. The current call stack for the thread is displayed, and the current line of execution is highlighted in the editor in the Debug Perspective.

When a thread suspends, the top stack frame of the thread is automatically selected.  The Variables View shows the stack frame's variables and their values.  Complex variables can be further examined by expanding them to show the values of their members.

When a thread is suspended and the cursor is hovered over a variable in the Java editor, the value of that variable is displayed.

Related concepts
Debugger
Java editor
Java perspectives

Related tasks
Catching Java exceptions
Evaluating expressions
Resuming the execution of suspended threads
Stepping through the execution of a program

Related reference
Debug view
Resume command
Suspend command
Variables view


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