core/com.nokia.carbide.cpp.doc.user/html/tasks/debugger/work_debug_act_stepout.htm
<!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 > 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 > Tasks > Running and debugging projects > 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 © 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>