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 name="GENERATOR" content="Microsoft FrontPage 5.0">
|
|
7 |
<meta name="ProgId" content="FrontPage.Editor.Document">
|
|
8 |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
9 |
<title>Controlling debug execution</title>
|
|
10 |
<link rel="stylesheet" type="text/css" href="../help.css">
|
|
11 |
</head>
|
|
12 |
|
|
13 |
<body>
|
|
14 |
|
|
15 |
<h1>Controlling debug execution</h1>
|
|
16 |
|
|
17 |
<p>The debug execution controls are superceded by breakpoints. For example, if
|
|
18 |
you attempt to step over a function and the program hits a breakpoint,
|
|
19 |
it pauses, regardless of whether the function is completed. You can control your debug execution in various ways, but they all rely on a
|
|
20 |
core set of debug controls. </p>
|
|
21 |
|
|
22 |
<p>To control a debug execution:</p>
|
|
23 |
|
|
24 |
<ol>
|
|
25 |
<li>In the <b>Debug</b> view, select a thread.</li>
|
|
26 |
<li>To control the debug session, click:</li>
|
|
27 |
<ul><li><b>Run > Resume</b></li>
|
|
28 |
<li><b>Run > Suspend</b></li>
|
|
29 |
<li><b>Run > Terminate</b></li>
|
|
30 |
<li><b>Run > Disconnect</b></li>
|
|
31 |
<li><b>Run > Remove All Terminated Launches</b></li>
|
|
32 |
<li><b>Run > Restart</b></li>
|
|
33 |
</ul>
|
|
34 |
</ol>
|
|
35 |
|
|
36 |
<p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
|
|
37 |
<br>
|
|
38 |
<a href="../concepts/cdt_c_over_cdt.htm">C/C++ Development perspective</a><br>
|
|
39 |
</p>
|
|
40 |
<p><img border="0" src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21">
|
|
41 |
<br>
|
|
42 |
<a href="cdt_o_debug.htm">Debugging</a></p>
|
|
43 |
<p><img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21">
|
|
44 |
<br>
|
|
45 |
<a href="../reference/cdt_u_dbg_view.htm">Debug launch controls</a><br>
|
|
46 |
<a href="../reference/cdt_u_dbg_view.htm">Debug view</a></p>
|
|
47 |
<img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" >
|
|
48 |
|
|
49 |
</body>
|
|
50 |
|
|
51 |
</html> |