Skip to main content

rust-debugging-mastery

Expert-level Rust debugging beyond `println!` and `dbg!`. Covers rust-lldb/rust-gdb (pretty-printers, breakpoints on monomorphized generics, why async backtraces lie), `tracing`/`tracing-subscriber` (spans, EnvFilter/RUST_LOG, the span-guard-across-.await trap), tokio-console for async stalls/deadlocks, Miri for UB and data races, cargo-flamegraph/samply/Instruments for hot paths, panics & backtraces (RUST_BACKTRACE, panic hooks, catch_unwind, abort vs unwind), debugging stuck/cancelled futures and the two-executor footgun, FFI/native-addon/dyld failures (@rpath/DYLD_*/install_name_tool, a .node/cdylib that segfaults its host), build/link debugging (cargo build -v, cargo tree -d, RUST_MIN_STACK vs recursion_limit), and heisenbugs (release-vs-debug, optimization UB). Activate on: "debug rust", "rust panic", "segfault", "stack overflow", "RUST_BACKTRACE", "rust-lldb", "rust-gdb", "tokio-console", "tracing subscriber", "RUST_LOG", "miri", "data race", "flamegraph", "samply", "@rpath", "Library not loaded", "dlop

Jump to install

Source facts

Repository
curiositech/port-daddy
Last source activity
July 4, 2026 at 20:31
Detected SKILL.md language
English
Stars
2
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.