Hacker News new | ask | show | jobs
by mips_r4300i 829 days ago
How long before I can visually debug rust on MCUs with source level stepping in my IDE?

Til then, no way to switch.

3 comments

Thanks, that's more what I was looking for. Looks like it is still pretty early stuff but could be useful in the future.
Like... zero days? You can just plop the .elf in gdb and then debug on target. I just did it on a riscv mcu just a couple hours ago.

Rust is there on the embedded, the only thing missing is people realising it's there.

What do you mean by visually debug? If you install `probe-rs` and do `cargo run`, you can print whatever you want to console; not related to the IDE. (Not sure if this is what you're looking for, or something else)
Visual Studio-type ide debugging, viewing structs, run to cursor, etc.
While not Visual Studio C++ level, using CodeLLDB in VS is already quite good.

https://marketplace.visualstudio.com/items?itemName=vadimcn....