Navigation through the debugging process
Using the Debug panel at the top of the Debug window, you can easily manage the execution process:
Continue Debugging button, the Cmd+Return hotkey — this button continues the execution of the Debugger till the next breakpoint. If there are no breakpoints, the Debugger executes the log till the end and closes.
Stop, the Shift+Cmd+Return hotkey — this button stops the execution of the Debugger and closes it.
The navigation with steps allows you to explore the execution flow in deep details with all the related and the depended data — stepping is executing the code one line at a time.
Step Into, the Shift+Cmd+I hotkey — if a method calls another method, use this option to move into this method.
Step Over, the Shift+Cmd+O hotkey — use this option to execute a step as a unit, without stepping in other methods if there is such step.
Step Out, the Shift+Cmd+U hotkey — it allows to move out of the method that was called by another method and go on a higher level.
Step back — in case you missed some necessary point, you can easily go back through the execution context.
In addition, all these options are available from the Main Menu item Debug.
Here you can also find the Show the current Execution Line option — it helps to navigate to the current line, if you explore the call stack.
In this section:
This also may be useful: