Step through code

When the debugger is stopped at a breakpoint, you can step through it using four buttons in the toolbar:

In order, the buttons are:

  • Play: run to the next breakpoint
  • Step over: advance to the next line in the same function.
  • Step in: advance to the next line in the function, unless on a function call, in which case enter the function being called
  • Step out: run to the end of the current function, in which case, the debugger will skip the return value from a function, returning execution to the caller

When paused, you can press the Esc key to open and close the split console to gain more insight into errors and variables: