BUG 10651 - added debugging dll with any process info, revised launch config pages and others
<!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="../../projects/images/icon_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="../../projects/images/icon_debug.png" width="17" height="16" align="absmiddle" />) in the C/C++ perspective</li>
<p>or</p>
<li>Select Run > 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 > <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 > Tasks > Running and debugging projects > 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 © 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>