Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2007. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <meta http-equiv="Content-Style-Type" content="text/css">
    <link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css">
      Suspending Threads
      Suspending Threads
      To suspend an executing thread:
        Select the thread in the <a href="../reference/views/debug/ref-debug_view.htm"><strong>Debug View</strong></a>.      </li>
      Click the <strong><a href="../reference/views/debug/ref-suspend.htm">Suspend</a></strong> button  [ <img src="../images/org.eclipse.debug.ui/elcl16/suspend_co.png" alt="Suspend"> ]  in the  view toolbar.</li>
    <p>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 <strong>Debug Perspective</strong>. </p>
      When a thread suspends, the top stack frame of the thread is automatically
      selected.&nbsp; The <a href="../reference/views/variables/ref-variables_view.htm"><strong>Variables View</strong></a> shows the stack frame's variables and
      their values.&nbsp; Complex variables can be further examined by expanding
      them to show the values of their members.    </p>
      When a thread is suspended and the cursor is hovered over a variable in the Java editor, the value of that variable is displayed.
      <img border="0" src="../images/ngrelc.png" alt="Related concepts" ><br>
      <a href="../concepts/cdebugger.htm">Debugger</a><br>
       <a href="../concepts/concept-java-editor.htm">Java editor</a><br>
       <a href="../concepts/concept-java-perspective.htm">Java perspectives</a>
      <img border="0" src="../images/ngrelt.png" alt="Related tasks" ><br>
      <a href="task-catching_exceptions.htm">Catching Java exceptions</a><br>
       <a href="task-evaluating_expressions.htm">Evaluating expressions</a><br>
       <a href="task-resuming_threads.htm">Resuming the execution of suspended threads</a><br>
       <a href="task-stepping.htm">Stepping through the execution of a program</a>
      <img border="0" src="../images/ngrelr.png" alt="Related reference" ><br>
      <a href="../reference/views/debug/ref-debug_view.htm">Debug view</a><br>
      <a href="../reference/views/debug/ref-resume.htm">Resume command</a> <br>
      <a href="../reference/views/debug/ref-suspend.htm">Suspend command</a> <br>
       <a href="../reference/views/variables/ref-variables_view.htm">Variables view</a>

New to GrepCode? Check out our FAQ X