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.
Part 2: Improved Breakpoints and Logging
This introductory video will preview the course and introduce the debugging framework that will be used throughout.
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.
Use breakpoints to add new logging without having to stop, add code, and recompile.
Learn how to use symbolic breakpoints to understand what's going on in UIKit code. Add conditions to fine tune your breakpoints.
Put your new-found skills to the test, logging what's going on in framework code.
Review what you've learned in this section and see what's coming up in Section 2.
Part 3: LLDB
In this video, see what's coming up in the section and start learning about scope in LLDB.
Learn about the three ways to inspect data in your app and the danger that comes with the power.
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.
See how to reflect changes in the UI without having to resume your app.
Learn a new trick to view register values and use that to view the return value of a method.
Use a flag to allow a method called from the LLDB command line to stop at breakpoints in that method.
Review what you've learned in this section and see what's coming up in Section 3.
Part 4: Xcode
Preview the tools Xcode provides to simplify debugging.
Use the scheme to make testing and switching between languages much easier and faster.
Learn how to quickly spot issues where UIKit code is being called from a background thread.
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.
See how Xcode finds and highlights issues with your app at runtime.
Learn how easy it is to debug without having to tether your device to your Mac.
Congratulations on completing Intermediate Debugging! Review what you've learned in this course and see where to go next.