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>Adding breakpoint actions</title>
|
|
8 |
<link rel="stylesheet" type="text/css" href="../help.css">
|
|
9 |
</head>
|
|
10 |
|
|
11 |
<body>
|
|
12 |
|
|
13 |
<h1>Adding breakpoint actions</h1>
|
|
14 |
|
|
15 |
<p>To add a new breakpoint action:</p>
|
|
16 |
<ol>
|
|
17 |
<li>Click <b>Window > Preferences</b>.</li>
|
|
18 |
<li>Expand <b>C/C++ > Debug</b> and click <b>Breakpoint Actions</b>.<p><br><img src="../images/cdt_pref_brk_action.png" width="581" height="527" alt="Breakpoint Actions preference dialog"><br></p></li>
|
|
19 |
<li>In the <b>Breakpoint Actions</b> page, click <b>New</b>. <p><br>
|
|
20 |
<img src="../images/cdt_new_brk_action.png" width="500" height="375" alt="New Breakpoint Action dialog"><br></p>
|
|
21 |
</li>
|
|
22 |
<li>In the <b>New Breakpoint Action</b> dialog box, type a name for the action in the <b>Action name</b> box.</li>
|
|
23 |
<li>Select an action from the <b>Action type</b> list. </li>
|
|
24 |
<li>Set the action's attributes: </li>
|
|
25 |
<ul>
|
|
26 |
<li>For a sound action, select a sound file.</li>
|
|
27 |
<li>For a log action, type a message. </li>
|
|
28 |
<li>For a resume action, set the <b>Resume after</b> time in seconds. </li>
|
|
29 |
<li>For an external tool action, click <b>Choose</b> to select a program.</li>
|
|
30 |
</ul>
|
|
31 |
<li>Click <b>OK</b>. </li>
|
|
32 |
</ol>
|
|
33 |
<p>The new breakpoint actions appears in the <b>Actions available for any breakpoint in the workspace </b> list. </p>
|
|
34 |
<p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
|
|
35 |
<br>
|
|
36 |
<a href="../concepts/cdt_c_over_cdt.htm">C/C++ Development perspective</a></p>
|
|
37 |
<p><img border="0" src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21">
|
|
38 |
<br>
|
|
39 |
<a href="cdt_o_brkpnts_watch.htm">Using breakpoints, watchpoints, and breakpoint actions</a></p>
|
|
40 |
<p><img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21">
|
|
41 |
<br>
|
|
42 |
<a href="../reference/cdt_u_debug.htm">Debug preferences</a></p>
|
|
43 |
<hr>
|
|
44 |
<img src="../images/nokia2007Copyright.png" ALT="Nokia Copyright Statement" >
|
|
45 |
|
|
46 |
</body>
|
|
47 |
|
|
48 |
</html>
|