Intermediate iOS Debugging

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

Leave a rating/review
Download materials
Save for later
Comments
Share

Part 2: Improved Breakpoints and Logging

01
Toggle description

This introductory video will preview the course and introduce the debugging framework that will be used throughout.

Toggle description

Create exception breakpoints to make finding the cause of an unhandled exception easier. See how to share breakpoints between projects or multiple users of a project.

Toggle description

Use breakpoints to add new logging without having to stop, add code, and recompile.

Toggle description

Learn how to use symbolic breakpoints to understand what's going on in UIKit code. Add conditions to fine tune your breakpoints.

Toggle description

Put your new-found skills to the test, logging what's going on in framework code.

Conclusion 0:59
Toggle description

Review what you've learned in this section and see what's coming up in Section 2.

Part 3: LLDB

Toggle description

In this video, see what's coming up in the section and start learning about scope in LLDB.

Toggle description

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

Toggle description

Create new variables in LLDB and use them to make your debugging life easier.

Use LLDB variables between multiple breakpoints to make them more powerful.

Toggle description

See how to reflect changes in the UI without having to resume your app.

Toggle description

Learn a new trick to view register values and use that to view the return value of a method.

Toggle description

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

Conclusion 1:04
Toggle description

Review what you've learned in this section and see what's coming up in Section 3.

Part 4: Xcode

Toggle description

Preview the tools Xcode provides to simplify debugging.

Toggle description

Use the scheme to make testing and switching between languages much easier and faster.

Toggle description

Learn how to quickly spot issues where UIKit code is being called from a background thread.

Toggle description

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

In this challenge, use unsafeBitCast to view properties of objects in the debug memory graph. As a bonus, learn how to create command aliases.

Toggle description

See how Xcode finds and highlights issues with your app at runtime.

Toggle description

Learn how easy it is to debug without having to tether your device to your Mac.

Conclusion 1:11
Toggle description

Congratulations on completing Intermediate Debugging! Review what you've learned in this course and see where to go next.