debugging-instruments

debugging instruments

dpearson2699 ↓ 2.7k
Claude Code
View source ↗

What it does

  • LLDB Debugging
  • Memory Debugging
  • Hang Diagnostics
  • Build Failure Triage
  • Instruments Overview
  • Common Mistakes
  • Review Checklist

Requirements & configuration

  • Use v over po when you only need a local variable value — it does not
  • error: Dependencies could not be resolved because root depends on 'Package' 1.0.0..<2.0.0
  • | Time Profiler | CPU is high, UI feels slow, need to find hot code paths |
  • | Allocations | Memory grows over time, need to track object lifetimes |

Configuration: FRAMEWORK_SEARCH_PATHSOTHER_LDFLAGSSWIFT_INCLUDE_PATHSBUILD_LIBRARY_FOR_DISTRIBUTION

Derived from the skill's own SKILL.md documentation · extracted 2026-07-23

debugging instruments

Source

Repository: https://github.com/dpearson2699/swift-ios-skills

debugging-instruments FAQ

What does the debugging-instruments skill do?

Debug iOS apps and profile performance using LLDB, the interactive Memory Graph Debugger, and Instruments. Use for crashes, retain-cycle inspection, hangs, build failures, and generic CPU, memory, energy, or network profiling. Use ios-memgraph-analysis for .memgraph capture, leaks CLI ownership paths, or persistent heap growth; use ios-ettrace-performance for ETTrace capture and JSON. LLDB Debugging Memory Debugging

What does debugging-instruments require?

Use v over po when you only need a local variable value — it does not error: Dependencies could not be resolved because root depends on 'Package' 1.0.0..<2.0.0 | Time Profiler | CPU is high, UI feels slow, need to find hot code paths | | Allocations | Memory grows over time, need to track object lifetimes | Configuration keys: FRAMEWORK_SEARCH_PATHS, OTHER_LDFLAGS, SWIFT_INCLUDE_PATHS, BUILD_LIBRARY_FOR_DISTRIBUTION.

How do I install debugging-instruments?

Run: npx -y skills add https://github.com/dpearson2699/swift-ios-skills --skill debugging-instruments --agent claude-code — the source lives at github.com/dpearson2699/swift-ios-skills.

Maintain debugging-instruments?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

[debugging-instruments on getagentictools](https://getagentictools.com/skills/dpearson2699-swift-ios-skills-debugging-instruments?ref=badge)
npx agentictools info skills/dpearson2699-swift-ios-skills-debugging-instruments

The second line is the CLI lookup for this page — handy in READMEs and docs.