core/com.nokia.carbide.cpp.doc.user/html/tasks/debugger/work_debug_act_stepout.htm
author Deepak Modgil <Deepak.Modgil@Nokia.com>
Fri, 03 Apr 2009 23:33:03 +0100
changeset 0 fb279309251b
permissions -rw-r--r--
DP tools release version Revision: 200912

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="LASTUPDATED" content="06/17/05 11:09:43" />
<title>Step Return Out of a Routine</title>
<link rel="StyleSheet" href="../../../book.css" type="text/css"/>
</head>
<body bgcolor="#FFFFFF">
<h2>Step Return Out of a Routine</h2>
Use the <b>Step Return</b> command (<img src="../../images/icons/btn_stepreturn.png" width="17" height="14" />) to execute the rest of the current routine and stop program execution after the routine returns to its caller.
<p>This command causes execution to return up the calling chain.</p>
<div class="step">
    <h4>Step Returning from a Routine </h4>
    <ul>
      <li>Click the Step Return button (<img src="../../images/icons/btn_stepreturn.png" width="17" height="14" />) in the <a href="../../reference/view_debug.htm">Debug</a> view </li>
    </ul>
    <blockquote>
      <p>or</p>
    </blockquote>
    <ul>
      <li>Right-click the thread in the Debug view, then select Step Return from the Debug context menu</li>
      <p>or</p>
	<li>Select Run &gt; Step Return from the  menu bar </li>
      <p>The current routine executes and returns to its caller, then program execution stops</p>
    </ul>
</div>
  <p>For more information on debugging, see <b>C/C++ Development User Guide &gt; Tasks &gt; Running and debugging projects &gt; Debugging</b>.</p>
<h5>Related references</h5>
<ul>
  <li><a href="../../concepts/working_with_debugger.htm">Working with the Debugger </a></li>
  <li><a href="../../reference/view_debug.htm">Debug View</a> </li>
</ul>
<div id="footer">Copyright &copy; 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. <br>License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a></div>

</body>
</html>