debug-build

Configure and build YARS with debug symbols for debugging sessions.

3|1|Updated Jul 27, 2016
Ready to run
npx skills add https://github.com/kzahedi/YARS --skill debug-build
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: debug-build
Source: https://github.com/kzahedi/YARS/tree/main/.claude/skills/debug-build
Command: npx skills add https://github.com/kzahedi/YARS --skill debug-build

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill configures and builds YARS with full debug symbols for debugging sessions, enabling easier diagnosis of crashes, memory issues, and runtime behavior.

Core Features & Use Cases

  • Debug-enabled Build: Configure with -DCMAKE_BUILD_TYPE=Debug and compile with debugging symbols.
  • Debugger & Profiler Ready: Binaries suitable for gdb, valgrind, and other tools.
  • Seamless Reversion: Switch back to Release when debugging is complete.

Quick Start

cd build cmake -DCMAKE_BUILD_TYPE=Debug .. make -j4