nim-debugging
CommunityDiagnose Nim crashes with reliable traces.
Software Engineering#debugging#stack trace#valgrind#nim#address sanitizer#arc ownership#macro expansion
Authorplanetis-m
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It helps you quickly pinpoint why a Nim program crashes, behaves unexpectedly, or corrupts memory by guiding you through the most effective debugging signals available.
Core Features & Use Cases
- Stack traces that match your build mode: Explain how
-d:debug,-d:release, and-d:dangeraffect stack trace fidelity and how to restore line-traced stack output with--lineTrace:on. - Fast runtime inspection: Use
echo,debugEcho, andreprto inspect values even when$is unavailable or side effects are restricted. - Compiler and runtime diagnostics: Expand macro output (
--expandMacro), inspect ARC/ownership operations (--expandArc), and find unsafe-memory issues with AddressSanitizer (or Valgrind as a fallback).
Quick Start
Ask the AI to help you debug a failing Nim program by reproducing the error, extracting the most informative stack trace, and then narrowing the root cause using either --expandMacro, --expandArc, or AddressSanitizer based on the suspected failure type.
Dependency Matrix
Required Modules
None requiredComponents
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: nim-debugging Download link: https://github.com/planetis-m/skills_experiment/archive/main.zip#nim-debugging Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.