This course is available as part of the Professional subscription. To learn more click here

Intermediate iOS Debugging

May 4 2021 · Video Course (14 mins) · Intermediate

Prepare to learn some new debugging tricks! In this course, you’ll improve your skills with LLDB and Xcode.


  • Swift 5, iOS 14, Xcode 12


Inspect Variables

1:59 Free

Learn about the three ways to inspect data in your app and the danger that comes with that power.


Use LLDB to create new variables, and learn to use them effectively to make your debugging life easier.


LLDB offers commands for step-based control, i.e. “Step Into”, “Step Over”, “Step Out”, and “Continue”.


Use a flag to allow a method called from the LLDB command line to stop at breakpoints in that method.



Swift Error Breakpoints are great for getting to the root cause of unexpected behavior, when it’s caused by errors thrown deep within your own code.


Breakpoints can be shared in two ways: between projects just on your own system, or as a file, for multiple users of a project.


Learn how to quickly spot issues where your code is being called from a background thread, when it should not.


See how this tool helps pinpoint memory issues - taking you right to the line of code where a retained object was instantiated.


When it’s impossible to insert a breakpoint into a chain of Combine methods, where you need it, Publisher’s “breakpoint” methods can come to your rescue.


Learn how easy it is to debug without having to tether your device to your Mac. It’s a necessity for the Apple Watch and TV, but works with all devices.


Version history

iOS 14, Swift 5, Xcode 12 (Selected)

May 4 2021

iOS 11, Swift 4, Xcode 9

Apr 10 2018

Who is this for?

This course will provide you with more debugging techniques to use, after you’ve mastered the basics.

Covered concepts

  • LLDB
  • Debugging
  • Breakpoints
  • Threading