Skip to main content
aboutsummaryrefslogblamecommitdiffstats
blob: 4115eb9d8b1125009045a3fb7eae5045272c6b69 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16















                                                                   


                                                                                                                                                                                                                                  
                                                                                                                    
       

                                                                                                                                        


                                                     
                                                                                              

                                                                                             
       
                                      
     
                                                                                                                               




                                                                                                 
                                                                                                  



                                                                                             
                                                                         



       
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html lang="en">

<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Adding breakpoint actions</title>
<link rel="stylesheet" type="text/css" href="../help.css">
</head>

<body>

<h1>Adding breakpoint actions</h1>

<p>To add a new breakpoint action:</p>
<ol>
  <li>Click <strong>Window &gt; Preferences</strong>.</li>
  <li>Expand <strong>C/C++ &gt; Debug</strong> and click <strong>Breakpoint Actions</strong>.<p><br><img src="../images/cdt_pref_brk_action.png" width="581" height="527" alt="Breakpoint Actions preference dialog"><br></p></li>
  <li>In the <strong>Breakpoint Actions</strong> page, click <strong>New</strong>. <p><br>
    <img src="../images/cdt_new_brk_action.png" width="500" height="375" alt="New Breakpoint Action dialog"><br></p>
  </li>
  <li>In the <strong>New Breakpoint Action</strong> dialog box, type a name for the action in the <strong>Action name</strong> box.</li>
  <li>Select an action  from the <strong>Action type</strong> list. </li>
  <li>Set the action's attributes: </li>
  <ul>
    <li>For a sound action, select a sound file.</li>
    <li>For a log action, type the message to appear in the Log Action Messages console. </li>
    <li>For a resume action, set the <strong>Resume after</strong> time in seconds. </li>
    <li>For an external tool action, click <strong>Choose</strong> to select a  program.</li>
  </ul>
  <li>Click <strong>OK</strong>. </li>
</ol>
<p>The new breakpoint actions appears in the <strong>Actions available for any breakpoint in the workspace </strong> list. </p>
<p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
<br>
<a href="../concepts/cdt_c_over_cdt.htm">C/C++ Development perspective</a></p>
<p><img border="0" src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21">
  <br>
  <a href="cdt_o_brkpnts_watch.htm">Using breakpoints, watchpoints, and breakpoint actions</a></p>
<p><img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21">
<br>
<a href="../reference/cdt_u_debug.htm">Debug preferences</a></p>
<hr>
<img src="../images/nokiaCopyright.png" ALT="Nokia Copyright Statement" >

</body>

</html>

Back to the top