core/com.nokia.carbide.cpp.doc.user/html/tasks/debugger/work_debug_act_kill.htm
changeset 401 939a4e7e4597
parent 400 9b005a8e6778
child 402 ad8d147e8273
equal deleted inserted replaced
400:9b005a8e6778 401:939a4e7e4597
     1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
       
     2 <html>
       
     3 <head>
       
     4 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
       
     5 <meta http-equiv="Content-Style-Type" content="text/css" />
       
     6 <meta name="LASTUPDATED" content="06/17/05 11:09:43" />
       
     7 <title>Killing Program Execution</title>
       
     8 <link rel="StyleSheet" href="../../../book.css" type="text/css"/>
       
     9 </head>
       
    10 <body bgcolor="#FFFFFF">
       
    11 <h2>Terminate Program Execution</h2>
       
    12 <p>Use the <b>Terminate</b> command (<img src="../../images/icons/btn_terminate.png" width="17" height="15" align="absmiddle" />) to stop or halt a program based on the type of debugging session underway. Terminate behavior includes: </p>
       
    13 <ul>
       
    14   <li><b>Emulator</b> - terminates program execution and ends the debug session</li>
       
    15   <li><b>Application TRK</b> or <b>System TRK</b> - kills the process on the device and ends the debug session. To terminate without killing the process, use <a href="work_debug_act_disconnect.htm">Disconnect</a> instead. </li>
       
    16   <li><b>Stop-mode soft attach</b> - suspends the attached process while other processes continue to run on the device. If only a single process is running on the device, the device CPU is suspended. Once the CPU is suspended you must launch a new debug session to resume the device CPU. </li>
       
    17 </ul>
       
    18 <p>This behavior differs from <a href="work_debug_act_stop.htm">suspending</a> a program, as this temporarily suspends execution.</p>
       
    19 <p class="note"><b>NOTE</b> If the <a href="../../reference/view_debug.htm">Debug</a> view  loses focus, the Terminate control will appear disabled. To regain focus, select a thread in the Debug view to update the tool bar and reactivate the Terminate control. </p>
       
    20 <div class="step">
       
    21   <h4>Terminating Program Execution </h4>
       
    22   <ul>
       
    23     <li>Click the Terminate button (<img src="../../images/icons/btn_terminate.png" width="17" height="15" align="absmiddle" />) in the <a href="../../reference/view_debug.htm">Debug</a> view </li>
       
    24   </ul>
       
    25   <blockquote>
       
    26     <p>or</p>
       
    27   </blockquote>
       
    28   <ul>
       
    29     <li>Right-click and select Terminate from the Debug context menu</li>
       
    30     <p>or</p>
       
    31 	<li>Select Run &gt; Terminate from the menu bar </li>
       
    32     <p>The debugger kills program execution and ends the debugging session.</p>
       
    33     <p class="note"><b>NOTE</b> If using an emulator, exiting it will also end the debugging session. </p>
       
    34   </ul>
       
    35 </div>
       
    36 <p>For more information on debugging, see <b>C/C++ Development User Guide &gt; Tasks &gt; Running and debugging projects &gt; Debugging</b>.</p>
       
    37 <h5>Related references</h5>
       
    38 <ul>
       
    39   <li><a href="../../concepts/working_with_debugger.htm">Working with the Debugger </a></li>
       
    40   <li><a href="../../reference/view_debug.htm">Debug View</a></li>
       
    41 </ul>
       
    42 <div id="footer">Copyright &copy; 2009 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>
       
    43 
       
    44 </body>
       
    45 </html>