<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html lang="en"> <head> <meta http-equiv="Content-Language" content="en-us"> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Controlling debug execution</title> <link rel="stylesheet" type="text/css" href="../help.css"> </head> <body> <div role="main"><h1>Controlling debug execution</h1> <p>The debug execution controls are superceded by breakpoints. For example, if you attempt to step over a function and the program hits a breakpoint, it pauses, regardless of whether the function is completed. You can control your debug execution in various ways, but they all rely on a core set of debug controls. </p> <p>To control a debug execution:</p> <ol> <li>In the <strong>Debug</strong> view, select a thread.</li> <li>To control the debug session, click: <ul><li><strong>Run > Resume</strong></li> <li><strong>Run > Suspend</strong></li> <li><strong>Run > Terminate</strong></li> <li><strong>Run > Disconnect</strong></li> <li><strong>Run > Remove All Terminated Launches</strong></li> <li><strong>Run > Restart</strong></li> </ul> </li> </ol> <p><img 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><br> </p> <p><img src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21"> <br> <a href="cdt_o_debug.htm">Debugging</a></p> <p><img src="../images/ngref.gif" ALT="Related reference" width="143" height="21"> <br> <a href="../reference/cdt_u_dbg_view.htm">Debug launch controls</a><br> <a href="../reference/cdt_u_dbg_view.htm">Debug view</a></p> <img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" > </div></body> </html>