News for hackers. Stuff that matters.
Re:New C++ features – lambdas by msie on Wednesday October 28, 2015 @02:21PM (#10466285)
This is slightly tangential...I was trying to learn how to debug rust code with gdb/lldb and ran into so many problems. Then just for kicks I wrote a little C++ program and used gdb - so much better :D . I just hope they get the rust debugging situation smoothed out someday but for now I won't be using it.
Re:New C++ features – lambdas by brinker on Wednesday October 28, 2015 @03:27PM (#10466707)
Did you try using rust-gdb or rust-lldb? They're wrappers for gdb and lldb respectively that make working with Rust code a lot nicer. They ship with the Rust compiler.
Re:New C++ features – lambdas by msie on Wednesday October 28, 2015 @07:54PM (#10468290)
Yes. I couldn't single step through a simple program without delving into assembly code. Couldn't list the program. Breakpoints weren't working. I think part of the problem was working on OSX. I was reading some Rust issue related to the debug info generation. Although the issue was closed I think it's still a problem. Oh well.
Re:New C++ features – lambdas by steveklabnik on Wednesday October 28, 2015 @08:18PM (#10468396)

  > Although the issue was closed I think it's still a problem
Please leave a comment if this is true! Opening old issues that come back is good.