Does Rust have one? I’d like something like pry in Ruby where you can see the variables and debug an application line by line interactively .
You can debug with gdb. Even better, use any of the IDE integrations (e.g. RustDT).
lldb
works excellent too.
2 Likes
I am using gdb
, but it barfs when I try to call a Rust method on a struct
.
Please file a bug in gdb bugzilla with steps to reproduce. For best results, try gdb git master first, as that has the Rust support.
It’s possible that this is one of the known bugs in the gdb support, though. Those generally arise from rustc not generating sufficient debuginfo.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.