I\'m aware of the debugging Rust questions here on StackOverflow and I also used gdb before with Go. However, I\'m running into a problem where it seems gdb is unable t
Same question, later Rust version (1.0.0-beta), totally different answer:
In GDB, when debugging a Rust executable, break main
sets a breakpoint in some setup code that is part of the Rust standard library. This isn't what you want.
Instead type: break $YOUR_CRATE::main
, substituting the name of your program for $YOUR_CRATE
.