gdb-debug

Community

Debug C/GTK4 memory & logic errors.

Authorchebizarro
Version1.0.0
Installs0

System Documentation

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.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: gdb-debug
Download link: https://github.com/chebizarro/nostrc/archive/main.zip#gdb-debug

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.