Hi, I know that if I have the following basic program :

***********
///hello.rs
fn main(){
   io::println("Hello");
}
***********

then the command :

>rustc hello.rs

produces an executable called hello which I can then run in ubuntu,

How would I compile it so that I can then use gdb to debug, for example to
set a breakpoint on println? So far I have only found the following as an
example of someone using GDB to debug Rust :
https://github.com/mozilla/rust/issues/1174 . Thanks.
_______________________________________________
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to