Step Into
What is Step Into?
Step Into: Descend into the function call on the current line to debug it line by line. Step Into moves the debugger into the function called on the current line, so you can follow it line by line. In VS Code it is F11; in JetBrains IDEs, F7. Use it when the bug might be inside the function being called. If a calculation returns the wrong value, step into it to see which input or branch goes wrong.
Frequently asked questions about Step Into
What should you keep in mind with Step Into?
Stepping into framework or library code is rarely useful and can take you deep into code you do not need. Most debuggers can skip vendor folders, and JetBrains has "Smart Step Into" to choose which call on a line to enter when there are several. Combine it with Step Over for lines you trust and Step Out once you have seen enough of a function.
At a glance
| Category | Keyboard shortcuts |
|---|---|
| Explained by | Reinier de la Parra |
| Updated |