I guess I’m next hoping someone gets it working using jtag/swd debug probes for embedded targets :)
- use C/C++ focused debugers with a rust plugin or similar (okay, not not compared to idk. debugging python in PyStorm)
- rely on tracing/logging and errors reported (which might sound dump as it's basically "not" debugging, but with how the rust type system plays out and enforcement of reasonable decent code style/structure etc. this is quite often good enough)
- write/extend tests (again a form of "not" debugging, but where while a "must have" even if you pinned down the bug using a debugger)
- sprinkle in dbg! statements (basically print line debugging)
The fact that it took like 10? yearts for anyone to write more then just tweeks to C/C++ debuggers even through rust has a lot of enthusiasts is I think telling ;)
Still it looks like a real nice tool to have in your toolbox.
godzie•10h ago
Async Rust support – debug async code with new commands: - async backtrace – inspect async task backtraces - async task – view task details - async stepover / async stepout – better control over async execution
Enhanced variable inspection: - argd / vard – print variables and arguments using Debug trait
Other: - new `call` Command – execute functions directly in the debugged program - `trigger` Command – fine-grained control over breakpoints - new project Website – better docs and resources
…and much more!
Full Changelog: https://github.com/godzie44/BugStalker/releases/tag/v0.3.0
Documentation & Demos: https://godzie44.github.io/BugStalker/