debug-tooling

Capture in-process backtraces and attach LLDB to diagnose Rust binary hangs.

98|3|Updated Jan 22, 2024
One-click install
npx skills add https://github.com/pikax/verter --skill debug-tooling
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: debug-tooling
Source: https://github.com/pikax/verter/tree/main/.claude/skills/debug-tooling
Command: npx skills add https://github.com/pikax/verter --skill debug-tooling

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill addresses the difficulty of debugging complex hangs, performance regressions, and deep recursive call stacks in high-performance Rust binaries where standard debuggers may be unavailable or insufficient.

Core Features & Use Cases

  • In-process Watchdog: Captures backtraces during execution to identify where a process is stuck or slow without needing an external debugger.
  • LLDB Attach Wrapper: Simplifies attaching to running processes on Windows and macOS to extract thread states and backtraces.
  • Release-Dbg Profile: Provides a specialized build profile that balances production-level optimization with essential debug symbols for accurate stack resolution.

Quick Start

Use the debug-tooling skill to attach the LLDB wrapper to the running process audit_real_component_meta.exe and save the backtrace to a file.

Frequently Asked Questions about debug-tooling

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

FAQPage Schema
How do I debug a Rust process hang without an external debugger?▼

To debug a Rust process hang without an external debugger, you can use an in-process watchdog to capture backtraces during execution, identifying exactly where the process is stuck or running slow.

How do I attach LLDB to a running Rust process on macOS and Windows?▼

You can attach LLDB to a running Rust process on macOS and Windows using an LLDB attach wrapper, which simplifies extracting thread states and saving backtraces to a file.

Can I get accurate backtraces for optimized Rust binaries?▼

Yes, you can get accurate backtraces for optimized Rust binaries by using a specialized release-dbg build profile that balances production-level optimizations with essential debug symbols.

What is the best way to diagnose performance bottlenecks in high-performance Rust?▼

The best way to diagnose performance bottlenecks in high-performance Rust is through diagnostic instrumentation that facilitates in-process backtrace sampling and external debugger attachment for complex binary analysis.

Does this debugging approach work for deep recursive call stacks in Rust?▼

Yes, this debugging approach works for deep recursive call stacks in Rust by providing diagnostic instrumentation and optimized debug profiles that enable precise stack resolution where standard debuggers are insufficient.