What problem does it solve?
Helps you diagnose iOS app crashes, memory leaks/retain cycles, main-thread hangs, and performance bottlenecks by combining LLDB inspection, Memory Graph Debugger, and Instruments profiling.
Core Features & Use Cases
- LLDB Debugging Playbook: Backtraces, breakpoint/watcher patterns, and safe inspection techniques (e.g., prefer
v over po when you want to avoid side effects).
- Memory Debugging Workflow: Memory Graph leak detection with guidance on enabling Malloc Stack Logging to recover allocation origins.
- Hang & Build Triage: Main-thread hang identification, Time Profiler usage, and practical steps for reading compiler diagnostics and resolving SPM/module/linker issues.
- Instruments Profiling Toolkit: Choosing the right Instruments template (CPU/Time Profiler, Allocations/Leaks, Network, SwiftUI, Core Animation, Energy, etc.) and using xctrace in repeatable profiling loops.
Quick Start
Diagnose a suspected memory leak by running the app in Debug, enabling Malloc Stack Logging, reproducing the leak, and then opening the Memory Graph from Xcode to identify leaked objects and their reference graphs.