Advanced Debugging Techniques
summary
Half of developer time goes to debugging—about $312 billion a year—and this session gives concrete fixes: use lldb register read to find object pointers (used to locate a stuck VLC image view in an Apple TV app), enable UIViewLayoutFeedbackLoopDebugger with a threshold to break on infinite layout loops, turn on ConcurrencyDebug and MigrationDebug/SQLDebug=3 for Core Data issues, add breakpoint actions to import UIKit/Foundation, use LLDB to change live variables, and prefer assert/precondition/fatalError correctly.
AI-written summary · about
chapters (7)
- 0:00Introduction to debugging
- 1:56Getting more information earlier
- 6:15Launch arguments for debugging
- 10:12Speeding up debugging tasks
- 13:43Breakpoints and LLDB tricks
- 16:41Error handling best practices
- 20:39Summary and resources
related talks
45mDebug like a Pro
37mTake your iOS debugging skills to the next level
50mAdvanced Development and Debugging for Android/iOS
29mSpeeding up as an iOS developer
42mTuning your app using Xcode's Instruments
23mReducing App Launch Times: From Diagnostics to Optimization
31mMemory Graph Debugger
32mLLDB Scripting for iOS Developers
