core/com.nokia.carbide.cpp.doc.user/html/tasks/debugger/work_debug_act_debug.htm
changeset 1933 a77f12f0a631
parent 1791 727385d8e2b3
equal deleted inserted replaced
1930:d8b5c1e3a21e 1933:a77f12f0a631
     7 <title>Debugging a Program</title>
     7 <title>Debugging a Program</title>
     8 <link rel="StyleSheet" href="../../../book.css" type="text/css"/>
     8 <link rel="StyleSheet" href="../../../book.css" type="text/css"/>
     9 </head>
     9 </head>
    10 <body >
    10 <body >
    11 <h2>Debugging a Program</h2>
    11 <h2>Debugging a Program</h2>
    12 <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>
    12 <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>
    13 <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>
    13 <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>
    14 <div class="step">
    14 <div class="step">
    15   <h4>Launching a Program for Debugging </h4>
    15   <h4>Launching a Program for Debugging </h4>
    16   <ul>
    16   <ul>
    17     <li>Click the Debug button (<img src="../../images/icons/btn_debug.png" width="17" height="16" align="absmiddle" />) in the C/C++ perspective</li>
    17     <li>Click the Debug button (<img src="../../projects/images/icon_debug.png" width="17" height="16" align="absmiddle" />) in the C/C++ perspective</li>
    18     <p>or</p>
    18     <p>or</p>
    19 	<li>Select Run &gt; Debug from the  menu bar </li>
    19 	<li>Select Run &gt; Debug from the  menu bar </li>
    20     <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>
    20     <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>
    21     <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>
    21     <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>
    22   </ul>
    22   </ul>