carbidecpp22devenv/configuration/org.eclipse.osgi/bundles/309/1/.cp/tasks/cdt_t_add_brkpnts.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>Adding breakpoints</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>Adding breakpoints</h1>
       
    22 
       
    23 <p>A breakpoint is set on an executable line of a program. If the breakpoint is 
       
    24 enabled when you debug, the execution suspends before that line of code 
       
    25 executes.</p>
       
    26 
       
    27 <p>To add a breakpoint point, double click the marker bar located in the left margin of the 
       
    28   <b>C/C++ Editor</b> beside the line of code where you want to add a breakpoint. A dot 
       
    29   <img alt="Icon: Breakpoint object" src="../images/icon_breakpoint_obj.gif" width="16" height="16"> is 
       
    30   displayed in the marker bar and in the <b>Breakpoints</b> view, along with the name of the associated file.</p>
       
    31   
       
    32 <p><img src="../images/add_breakpoint.png" alt="Edit view with the cursor highlighting a breakpoint">  </p>
       
    33   
       
    34 <p>For more information on marker bar icons, see <b>Workbench User Guide &gt; 
       
    35 Reference &gt; User interface information &gt; Icons and buttons &gt; Editor area 
       
    36 marker bar</b>.</p>
       
    37 <p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
       
    38 <br>
       
    39 <a href="../concepts/cdt_c_over_cdt.htm">C/C++ Development perspective</a><br>
       
    40 </p>
       
    41 <p><img border="0" src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21">
       
    42 <br>
       
    43 <a href="cdt_o_brkpnts_watch.htm">Using breakpoints and watchpoints</a></p>
       
    44 <p><img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21">
       
    45 <br>
       
    46 <a href="../reference/cdt_o_run_dbg_pages.htm">Run and Debug dialog box</a></p>
       
    47 <img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" > 
       
    48 
       
    49 </body>
       
    50 
       
    51 </html>