Using gdb or lldb with Rust: https://michaelwoerister.github.io/2015/03/27/rust-xxdb.html