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:danger affect stack trace fidelity and how to restore line-traced stack output with --lineTrace:on.
- Fast runtime inspection: Use
echo, debugEcho, and repr to 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.