Memory Graph Debugger
summary
Xcode 8 introduces a visual Xcode 8 Memory Graph Debugger that pauses the app and shows who retains what; a demo creates a parent/child view controller retain cycle where the child holds a 10,000-element array and a closure captures objects, producing a circular reference. The graph highlights the cycle (reported as 20 leaks though only one or two are real), lets the presenter confirm fixing with weak references, and loads in about 5–10 seconds on an older Mac.
AI-written summary · about
chapters (15)
- 0:00Start
- 1:31Agenda
- 3:38What is Debugging
- 4:50What exactly is Debugging
- 5:34Debugging - Techniques
- 6:03Patching
- 8:18Understand and Fix
- 9:26Is one better than the other?
- 9:46Types of Debugging
- 10:32Debugging Tools
- 13:11What's new in Xcode 8
- 14:57Memory Debugging and ARC
- 15:37Memory Debugging - Before ARC
- 16:07Memory Debugging - After ARC
- 25:02Any Disadvantages?
related talks
45mDebug like a Pro
42mTuning your app using Xcode's Instruments
28mFinding Retain Cycles for Objective-C with Pulse
46mFighting Memory Leaks: From Task to Victory
32mLLDB Scripting for iOS Developers
21mAdvanced Debugging Techniques
37mTake your iOS debugging skills to the next level
30miOS Observability & Performance Metrics
