[rust-dev] Debugging rust for a newbie

Urban Hafner contact at urbanhafner.com
Wed Jul 23 00:42:59 PDT 2014

Hey there,

I'm still quite new to Rust. Until now I was able to fix all my bugs by
writing tests and/or randomly adding lifetime parameters to keep the
compiler happy. Now I've hit my first stack overflow. I assume it's due to
the fact that I've screwed up the lifetimes and the objects live too long
although I'm not even sure about that. Now my question is: How do I debug
this? Is there a way to figure out how long objects live? Or how would one
go about debugging this?

Oh, if you're interested in the failing code:



Available for hire for Ruby, Ruby on Rails, and JavaScript projects

More at http://urbanhafner.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/rust-dev/attachments/20140723/1daabc4d/attachment.html>

More information about the Rust-dev mailing list