Intermediate iOS Debugging

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

Leave a rating/review
Save for later
Comments
Share

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

Part 1: LLDB

01
Toggle description

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

Toggle description

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

Toggle description

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

Toggle description

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

Part 2: Xcode

Toggle description

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.

Toggle description

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

Toggle description

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

Toggle description

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

Toggle description

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.

Toggle description

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.