## Step Return Out of a Routine

Use the Step Return command () to execute the rest of the current routine and stop program execution after the routine returns to its caller.

This command causes execution to return up the calling chain.

#### Step Returning from a Routine

- Click the Step Return button () in the Debug view

> or

- Right-click the thread in the Debug view, then select Step Return from the Debug context menu

or

- Select Run > Step Return from the menu bar

The current routine executes and returns to its caller, then program execution stops

For more information on debugging, see C/C++ Development User Guide > Tasks > Running and debugging projects > Debugging.

##### Related references

- Working with the Debugger
- Debug View