carbidecpp22devenv/configuration/org.eclipse.osgi/bundles/309/1/.cp/tasks/cdt_t_addrmv_brk_action.htm
author cawthron
Fri, 04 Dec 2009 10:01:33 -0600
changeset 5 684bf18fdedf
permissions -rw-r--r--
add files for RCL_2_2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN" >
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     2
<html lang="en">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     3
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     4
<head>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     5
<meta http-equiv="Content-Language" content="en-us">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     6
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     7
<title>Attaching or removing breakpoint actions</title>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     8
<link rel="stylesheet" type="text/css" href="../help.css">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     9
</head>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    10
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    11
<body>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    12
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    13
<h1>Attaching or removing breakpoint actions</h1>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    14
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    15
<p>You can attach one or more breakpoint actions to a single breakpoint. For example, when the breakpoint is hit you could both log a message and play a sound. Actions are executed in the order they appear in the <b>Actions for this breakpoint</b> list. </p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    16
<p>To  attach or remove a breakpoint action from a breakpoint: </p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    17
<ol>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    18
  <li>In the <b>Breakpoints</b> view, right-click the breakpoint, and select <b>Properties</b>.</li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    19
  <li>In the <b>Properties for C/C++ Breakpoint </b> dialog box, click <b>Actions</b>.<br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    20
  <img src="../images/cdt_pref_brk_action_properties.png" alt="Actions page in Breakpoint Properties Dialog Box" width="605" height="527"></li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    21
  <li>In the <b>Available actions</b> list:
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    22
    <ul>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    23
      <li>Select an action and click <b>Attach</b> to link it to the breakpoint. Repeat as required. </li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    24
      <li>To add a new breakpoint action, click <b>New</b>.</li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    25
      <li>To edit the selected breakpoint action, click <b>Edit</b>.</li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    26
      <li>To delete the selected action, click <b>Delete</b>. <br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    27
          <p><b>NOTE</b>: Deleting a breakpoint action removes it from the workspace. </p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    28
      </li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    29
    </ul>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    30
  </li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    31
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    32
  <li>In the <b>Actions for this breakpoint</b> list you can:
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    33
    <ul>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    34
      <li>Click <b>Remove</b> to delete the selected action from the list.</li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    35
      <li>Click <b>Up</b> to move the selected action up in the list.</li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    36
      <li>Click <b>Down</b> to move the selected action down in the list.</li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    37
    </ul>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    38
  </li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    39
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    40
  <li>Click <b>OK</b>.</li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    41
</ol>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    42
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    43
<p><img border="0" src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    44
  <br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    45
  <a href="cdt_o_brkpnts_watch.htm">Using breakpoints, watchpoints, and breakpoint actions</a></p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    46
<p><img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    47
<br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    48
<a href="../reference/cdt_u_debug.htm">Debug preferences</a></p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    49
<hr>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    50
<img src="../images/nokia2007Copyright.png" alt="Nokia Copyright Statement" >
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    51
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    52
</body>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    53
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    54
</html>