Is there gdb for Rust? Is it integrated into cargo
?
There's a gdb plugin for Rust. It's not integrated into cargo, but it does come with the Rust release.
If you install Rust in the usual way (with rustup), then you should also get this plugin. Rust also provides a convenience wrapper, called rust-gdb
, to use it.
3 Likes
Thanks mate.
Interesting, but what does the wrapper do as well compared to not using the wrapper and just using the plugin?
Nothing. But you have to tell gdb to use the plugin. It won't find it on its own.
1 Like
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.