What problem does it solve?
This Skill provides systematic workflows for diagnosing and fixing critical bugs like segfaults, memory leaks, and use-after-free errors in C/GTK4 applications, making debugging more efficient.
Core Features & Use Cases
- Cross-Platform Debugging: Supports GDB on Linux and LLDB on macOS.
- Advanced Diagnostics: Integrates with AddressSanitizer (ASan) for memory error detection, and provides techniques for GObject reference counting, signal handler tracing, and NDB transaction analysis.
- LLM Agent Friendly: Designed for AI agents to execute debugger commands and interpret structured output for crash diagnosis.
- Use Case: When your GNostr application crashes with a segfault, this Skill guides you through using GDB to pinpoint the exact line of code and the state of variables at the time of the crash, even helping to identify if it's a memory corruption issue.
Quick Start
Run the application 'gnostr' under GDB with a full backtrace and then quit.