5
|
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>Attaching or removing breakpoint actions</title>
|
|
8 |
<link rel="stylesheet" type="text/css" href="../help.css">
|
|
9 |
</head>
|
|
10 |
|
|
11 |
<body>
|
|
12 |
|
|
13 |
<h1>Attaching or removing breakpoint actions</h1>
|
|
14 |
|
|
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>
|
|
16 |
<p>To attach or remove a breakpoint action from a breakpoint: </p>
|
|
17 |
<ol>
|
|
18 |
<li>In the <b>Breakpoints</b> view, right-click the breakpoint, and select <b>Properties</b>.</li>
|
|
19 |
<li>In the <b>Properties for C/C++ Breakpoint </b> dialog box, click <b>Actions</b>.<br>
|
|
20 |
<img src="../images/cdt_pref_brk_action_properties.png" alt="Actions page in Breakpoint Properties Dialog Box" width="605" height="527"></li>
|
|
21 |
<li>In the <b>Available actions</b> list:
|
|
22 |
<ul>
|
|
23 |
<li>Select an action and click <b>Attach</b> to link it to the breakpoint. Repeat as required. </li>
|
|
24 |
<li>To add a new breakpoint action, click <b>New</b>.</li>
|
|
25 |
<li>To edit the selected breakpoint action, click <b>Edit</b>.</li>
|
|
26 |
<li>To delete the selected action, click <b>Delete</b>. <br>
|
|
27 |
<p><b>NOTE</b>: Deleting a breakpoint action removes it from the workspace. </p>
|
|
28 |
</li>
|
|
29 |
</ul>
|
|
30 |
</li>
|
|
31 |
|
|
32 |
<li>In the <b>Actions for this breakpoint</b> list you can:
|
|
33 |
<ul>
|
|
34 |
<li>Click <b>Remove</b> to delete the selected action from the list.</li>
|
|
35 |
<li>Click <b>Up</b> to move the selected action up in the list.</li>
|
|
36 |
<li>Click <b>Down</b> to move the selected action down in the list.</li>
|
|
37 |
</ul>
|
|
38 |
</li>
|
|
39 |
|
|
40 |
<li>Click <b>OK</b>.</li>
|
|
41 |
</ol>
|
|
42 |
|
|
43 |
<p><img border="0" src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21">
|
|
44 |
<br>
|
|
45 |
<a href="cdt_o_brkpnts_watch.htm">Using breakpoints, watchpoints, and breakpoint actions</a></p>
|
|
46 |
<p><img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21">
|
|
47 |
<br>
|
|
48 |
<a href="../reference/cdt_u_debug.htm">Debug preferences</a></p>
|
|
49 |
<hr>
|
|
50 |
<img src="../images/nokia2007Copyright.png" alt="Nokia Copyright Statement" >
|
|
51 |
|
|
52 |
</body>
|
|
53 |
|
|
54 |
</html>
|