debugging-instruments

Diagnose iOS app crashes, leaks, hangs, and performance bottlenecks with LLDB, Memory Graph Debugger, and Instruments.

Updated Apr 30, 2026
One-click install
npx skills add https://github.com/onymchat/onym-ios --skill debugging-instruments-onymchat
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: debugging-instruments
Source: https://github.com/onymchat/onym-ios/tree/main/.claude/skills/debugging-instruments
Command: npx skills add https://github.com/onymchat/onym-ios --skill debugging-instruments-onymchat

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Diagnose and resolve iOS app issues by leveraging LLDB, Memory Graph Debugger, and Instruments to identify crashes, memory leaks, hangs, and performance bottlenecks.

Core Features & Use Cases

  • LLDB-based debugging workflows for runtime inspection and breakpoint management.
  • Memory Graph analysis to detect retain cycles and leaks, and to examine object lifetimes.
  • Instruments profiling for CPU, memory, energy, and network usage to pinpoint performance regressions.
  • Use Case: During a crash, a dev can attach LLDB, capture a memory graph, and profile with Instruments to triage cause quickly.

Quick Start

Attach to a running iOS app and follow the LLDB, Memory Graph Debugger, and Instruments workflows to reproduce issues and identify root causes.

Frequently Asked Questions about debugging-instruments

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I debug iOS app crashes and memory leaks with LLDB and Instruments?

Debug iOS app crashes and memory leaks by attaching LLDB for runtime inspection, capturing a memory graph to find retain cycles, and profiling with Instruments to pinpoint CPU and memory bottlenecks.

What is the best way to profile CPU and energy usage in an iOS app?

Profile CPU and energy usage in an iOS app using Instruments templates to measure resource consumption, identify performance regressions, and trace network usage during active debugging sessions.

How do I find retain cycles in my iOS app using the Memory Graph Debugger?

Find retain cycles using the Memory Graph Debugger to capture object lifetimes, examine object relationships, and detect memory leaks causing performance issues during development.

Can I use LLDB breakpoints for runtime inspection of thread hangs in Xcode?

Yes, use LLDB breakpoints for runtime inspection of thread hangs in Xcode by attaching to a running iOS app, managing breakpoint workflows, and diagnosing performance bottlenecks.

Does this Instruments workflow support diagnosing network usage bottlenecks during iOS development?

Yes, Instruments profiling supports diagnosing network usage bottlenecks during iOS development by tracing network activity alongside CPU, memory, and energy usage to surface performance regressions.

When should I use Instruments vs LLDB for iOS app debugging?

Use LLDB for runtime inspection and breakpoint management to triage crashes, and use Instruments for profiling CPU, memory, energy, and network usage to pinpoint performance bottlenecks.