If you're on Linux, GDB 7.12 has Rust support. Fedora hasn't packaged that yet, but I did this to get a fresh GDB that I can run from ~/gdb/bin:
sudo dnf builddep binutils gdb mkdir ~/gdb cd ~/gdb git clone git://sourceware.org/git/binutils-gdb.git mkdir build cd build ../binutils-gdb/configure --prefix=$HOME/gdb make -j8 make install (These instructions probably belong someplace else...) On Tue, Nov 8, 2016 at 9:36 AM, Bobby Holley <bobbyhol...@gmail.com> wrote: > First, make sure you're running XCode 8, since the lldb in XCode 7 is > busted for Rust in various ways [1]. A while ago I set up my system with > XCode 8 beta as a workaround, and then forgot about it. XCode 8 came out a > while ago, but it doesn't auto-update. > > Second, the Rust optimization level for debug Gecko builds is currently > nonzero [2] to avoid test timeouts on CI. I recommend setting it to zero in > local debug builds to avoid missing breakpoints. > > bholley > > [1] https://github.com/rust-lang/rust/issues/33062 > [2] > http://searchfox.org/mozilla-central/rev/f5c9e9a249637c9abd88754c8963ec > b3838475cb/toolkit/library/rust/Cargo.toml#23 > _______________________________________________ > dev-servo mailing list > dev-servo@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-servo > _______________________________________________ dev-servo mailing list dev-servo@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-servo