core/com.nokia.carbide.cpp.doc.user/html/tasks/debugger/work_debug_act_debug.htm
author fturovic <frank.turovich@nokia.com>
Fri, 06 Aug 2010 14:28:38 -0500
changeset 1791 727385d8e2b3
parent 1507 30441fd93226
child 1933 a77f12f0a631
permissions -rw-r--r--
added new customize carbide section and some relinking done for deleted duplicate page

<!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>Debugging a Program</title>
<link rel="StyleSheet" href="../../../book.css" type="text/css"/>
</head>
<body >
<h2>Debugging a Program</h2>
<p>Use the <b>Debug</b> command (<img src="../../images/icons/btn_debug.png" width="17" height="16" align="absmiddle" />) to execute a program under debugger control using the current <a href="../../reference/wnd_debug_configuration.htm">launch configuration</a> settings.</p>
<p>If this is the first time the program is launched for debugging, a new debug launch configuration is automatically created for you based on current project settings and assigned a name. If a debug launch configuration is already available, the Debug command launches using the last debug launch configuration used with the project. </p>
<div class="step">
  <h4>Launching a Program for Debugging </h4>
  <ul>
    <li>Click the Debug button (<img src="../../images/icons/btn_debug.png" width="17" height="16" align="absmiddle" />) in the C/C++ perspective</li>
    <p>or</p>
	<li>Select Run &gt; Debug from the  menu bar </li>
    <p>Both of these methods create a new debug launch configuration if none previously existed in the project or uses the last one launched for debugging. </p>
    <li>To launch using a specific debug launch configuration, right-click the project's EXE file in the Project Explorer view and select Debug As &gt; <em>Project_Name</em> from the Project Explorer context menu</li>
  </ul>
  <ul>
    <p>The debugger assumes control of the program execution as the program runs.</p>
  </ul>
</div>
  <p>For more information on debugging, see <b>C/C++ Development User Guide &gt; Tasks &gt; Running and debugging projects &gt; Debugging</b>.</p>
  <h5>Related references</h5>
  <ul>
    <li><a href="../../concepts/working_with_debugger.htm">Working with the Debugger </a></li>
    <li><a href="../../debugger/debug/viewing_debug.htm">Debug View</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>