Writing / Debugging
Debugging
6 essays tagged Debugging.
2026
LLDB and debugging techniques every iOS engineer should knowPractical LLDB commands, breakpoint techniques, and inspection workflows that make diagnosis faster than print-statement guesswork.14 min readInstruments beyond memory leaks: Time Profiler, hang detection, and energy auditsHow to use Time Profiler, the Hangs instrument, and energy logging to find performance and battery problems before users report them.11 min readiOS observability beyond crash reportingCrash reports tell you where the app died. Good observability tells you why releases degrade, which flows fail, and where users lose trust.9 min readWhy iOS apps start feeling flaky after launchFlaky apps are rarely cursed. They usually rot after launch because teams stop measuring reality, ignore lifecycle edges, treat networking as happy-path plumbing, and let small product decisions quietly break trust.10 min readFinding memory leaks in iOS apps without wasting a day in InstrumentsMemory leaks are not solved by staring at Instruments until the graph confesses. Start with ownership, reproduce the leak, prove deallocation, then use Instruments for the cases that actually deserve it.11 min readLogging on iOS: useful structure, sane defaults, and better debuggingMost iOS logging is either print spam that nobody reads or silence that hides the bug. A reasonable logging setup is small, structured, and actually useful when something breaks at 2 AM.8 min read