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/f5c9e9a249637c9abd88754c8963ecb3838475cb/toolkit/library/rust/Cargo.toml#23
_______________________________________________
dev-servo mailing list
dev-servo@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-servo

Reply via email to