debugger

star 90

Use rust-gdb to inspect variables without modifying code. Prefer this over print debugging when investigating compiler internals or runtime behavior.

wado-lang By wado-lang schedule Updated 1/28/2026

name: debugger description: Use rust-gdb to inspect variables and step through code without modifying it. Prefer this over print debugging when investigating compiler internals or runtime behavior (lldb is unavailable on Claude Code Web).

Debugger

Debug wado compiler with rust-gdb.

Usage

cat > /tmp/gdb_commands.txt << 'EOF'
file ./target/debug/wado
set pagination off
break wado-compiler/src/codegen.rs:5985
run compile -o /tmp/out.wasm example/hello.wado
info locals
print *expr
bt 5
quit
EOF
rust-gdb --batch -x /tmp/gdb_commands.txt

Common commands

Command Description
info locals Show local variables
print *expr Dereference and print pointer
bt 5 Backtrace (top 5 frames)
continue Resume execution

Notes

lldb does not work in Claude Code Web due to ptrace restrictions:

error: Cannot launch '...': personality get failed: Invalid argument

Use rust-gdb instead.

Install via CLI
npx skills add https://github.com/wado-lang/wado --skill debugger
Repository Details
star Stars 90
call_split Forks 2
navigation Branch main
article Path SKILL.md
More from Creator