Step Out
What is Step Out?
Step Out: Finish the current function and return to the caller. Step Out finishes running the current function and stops again at the line that called it. In VS Code it is Shift+F11; in JetBrains IDEs, Shift+F8. It is the way back up after stepping into something. Once you have seen what you needed inside a function, or realise you stepped into the wrong one, Step Out returns you to the caller without stepping through every remaining line.
Frequently asked questions about Step Out
What should you keep in mind with Step Out?
Together, Step Into, Step Over and Step Out let you move through code at the right level of detail. Watch the return value when you step out; most debuggers show it, which is often exactly the value you were looking for. If you need to get somewhere further away, setting a breakpoint there and pressing Continue is quicker than stepping repeatedly.
At a glance
| Category | Keyboard shortcuts |
|---|---|
| Explained by | Reinier de la Parra |
| Updated |