Skip to content

Controls

The Toolbar gives us control of executing the program.

Toolbar

Buttons and their shortcuts are listed below.

Toolbar Shortcut Description
Resume F8 Resume execution
Terminate ⌘F2 Stop execution
Step Into F5 Step into the call
Step Over F6 Step over the call
Step Return F7 Step out to the caller
Skip All Breakpoints ⌥⌘B Skip all breakpoints
Run to Line ⌘R Run to line
Drop to frame None Rerun a part of your program
Use step filters ⇧F5 Skip classes for Step Into*

* - Step filters are commonly used to filter out types that you do not want to see or step through while debugging.

Practice Exercise

Resume is different than Run, which runs programs. If you press Run while debugging, you will run a separate instance of your application.

Resume - to continue debugging: resume

Run - to run your application without debugging: run


Prev -- Up -- Next