core/com.nokia.carbide.cpp.doc.user/html/debugger/debug/cmds_resuming.htm
author fturovic <frank.turovich@nokia.com>
Fri, 16 Apr 2010 09:51:37 -0500
branchRCL_2_4
changeset 1225 a546534a48de
parent 400 9b005a8e6778
child 1791 727385d8e2b3
permissions -rw-r--r--
minor edits to remote conn pages, updated copyrights, fixed some broken links

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="LASTUPDATED" content="06/17/05 11:09:43" />
<title>Suspending and Resuming a Debug Session</title>
<link rel="StyleSheet" href="../../../book.css" type="text/css"/>
</head>
<body bgcolor="#FFFFFF">
<h2>Suspending and Resuming a Debug Session</h2>
<p>Once you've started a debug session, the <a href="viewing_debug.htm">Debug</a><b> </b>view provides controls to both suspend and resume program execution under debugger control. The following items describe the commands for:</p>
<ul>
  <li><a href="#PAUSE_PGM">Suspending a program</a></li>
  <li><a href="#RESUME_PGM">Resuming a program</a></li>
</ul>
<h4><a name="PAUSE_PGM" id="PAUSE_PGM"></a>Suspending a program</h4>
<p>Use the <b>Suspend</b> command  (<img src="../../images/icons/btn_suspend.png" width="17" height="17" align="absmiddle" />) to stop program execution during a debugging session.</p>
<p>To suspend a running program:</p>
<ol>
  <li>Select the thread in the <b>Debug</b> view to suspend</li>
  <li>Click the <b>Suspend</b> (<img src="../../images/icons/btn_suspend.png" width="17" height="17" align="absmiddle" />) button, or right-click the thread  and select <b>Suspend</b></li>
</ol>
<h4><a name="RESUME_PGM" id="PAUSE_PGM2"></a>Resuming a program</h4>
<p>Use the <b>Resume</b> command  (<img src="../../images/icons/btn_resume.png" width="19" height="14" align="absmiddle" />) to continue executing a suspended debugging session. If the debugging session is already active, use this command to switch view from the Thread window to the executing program.</p>
<p>The ways you can resume a program include:</p>
<ul>
  <li>Click the <b>Resume</b> button (<img src="../../images/icons/btn_resume.png" width="19" height="14" align="absmiddle" />) in the <b>Debug</b> view </li>
</ul>
<ul>
  <li>Right-click  the thread in the <b>Debug</b> view and select <b>Resume</b> from the  context menu</li>
</ul>
<ul><li>Select <b>Run &gt; Resume</b> from the  menu bar </li>
</ul>
<p class="note"><b>NOTE</b> If the <a href="viewing_debug.htm">Debug</a> view loses focus, the Resume control will appear disabled. To regain focus, select a thread in the Debug view to update the tool bar and reactivate the Resume control.</p>
<h4>Other references</h4>
<ul>
  <li><a href="debug.htm">Debugging overview</a> </li>
</ul>
<div id="footer">Copyright &copy; 2010 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. <br>License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a></div>
</body>
</html>