carbidecpp22devenv/configuration/org.eclipse.osgi/bundles/309/1/.cp/tasks/cdt_t_run_dbg.htm
changeset 5 684bf18fdedf
equal deleted inserted replaced
4:4764c8c88759 5:684bf18fdedf
       
     1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
       
     2 <html lang="en">
       
     3 
       
     4 <head>
       
     5 <meta http-equiv="Content-Language" content="en-us">
       
     6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
       
     7 <title>Defining debug settings</title>
       
     8 <link rel="stylesheet" type="text/css" href="../help.css">
       
     9 <script language="JavaScript">
       
    10 function changeSize(theImage,wd,ht) {
       
    11 	wdth=parseInt(theImage.style.width); hght=parseInt(theImage.style.height);
       
    12 	if ( !(wdth==(wd*2)) ) {wdth=wd*2; hght=ht*2;}
       
    13 	else {wdth=wd;hght=ht;}
       
    14 	theImage.style.width=wdth; theImage.style.height=hght;
       
    15 }
       
    16 </script>
       
    17 </head>
       
    18 
       
    19 <body>
       
    20 
       
    21 <h1>Defining debug settings</h1>
       
    22 
       
    23 <p>Select a debugger to use when debugging an application.</p>
       
    24 
       
    25 <p>To select a debugger:</p>
       
    26 
       
    27 <ol>
       
    28   <li>In  the C/C++ Projects view, select a project.</li>
       
    29   <li>Click <b>Run &gt; Run</b> or <b>Run &gt; Debug</b>.</li>
       
    30   <li>In the <b>Configurations</b> box, expand <b>C/C++ Local</b>.</li>
       
    31   <li>Select a run or debug configuration.</li>
       
    32   <li>Click the <b>Debugger</b> tab..<br>
       
    33   	  <img src="../images/run_debugger.png" alt="Run Debugger window">
       
    34   </li>
       
    35   <li>Select a debugger from the <b>Debugger</b> list.</li>
       
    36   <li>To let your program run until you interrupt it manually, or until it 
       
    37       hits a breakpoint, clear the <b>Stop at main() on startup</b> check box .</li>  
       
    38   <li>Specify debug options in the <b>Debugger Options</b> box.</li>
       
    39   <li>Click <b>Run</b> or do the following, as required:<ul><li>To specify the 
       
    40     execution arguments that an application uses and the working directory for a run 
       
    41     configuration, see <a href="cdt_t_run_arg.htm">Specifying execution arguments</a>.</li><li>To set the environment variables 
       
    42     and the values to use when an application runs, see <a href="cdt_t_run_env.htm">
       
    43     Setting environment variables</a></li>
       
    44   <li>To specify the location of source files used when debugging a C or C++ 
       
    45   application, see <a href="cdt_t_run_source.htm">Specifying the location of 
       
    46   source files</a></li>
       
    47   <li>To specify where the run configuration is stored, how you access it, and 
       
    48   the perspective to open when running an application, see
       
    49   <a href="cdt_t_run_com.htm">Specifying the location of the run configuration</a></li></ul>
       
    50   </ol>
       
    51 
       
    52 <p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
       
    53 <br>
       
    54 <a href="../concepts/cdt_c_projects.htm">CDT Projects</a><br>
       
    55 <a href="../concepts/cdt_c_proj_file_views.htm">Project file views</a><br>
       
    56 <a href="../concepts/cdt_c_over_dbg.htm">Debug overview</a><br>
       
    57 <a href="../concepts/cdt_c_dbg_info.htm">Debug information</a></p>
       
    58 <p><img border="0" src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21">
       
    59 <br>
       
    60 <a href="cdt_o_run_config.htm">Creating or editing a run configuration</a></p>
       
    61 <p><img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21">
       
    62 <br>
       
    63 <a href="../reference/cdt_o_run_dbg_pages.htm">Run and Debug dialog box</a></p>
       
    64 <img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" >
       
    65 
       
    66 </body>
       
    67 
       
    68 </html>