[Qt-creator] Best c++11 for compiling and debugging with qt-creator on mac?

Paulo Silva paulo.jnkml at gmail.com
Wed May 29 00:18:42 CEST 2013

On Wed, May 29, 2013 at 6:37 AM, André Pönitz <
andre.poenitz at mathematik.tu-chemnitz.de> wrote:

> On Wed, May 29, 2013 at 05:50:55AM +0900, Paulo Silva wrote:
> > Let me rephrase that question. On the Qt5 page it's proposed to use c++11
> > lambdas with Qt5. How would you go about doing this/debugging your code
> with
> > qt-creator?
> Pretty much the same way as with any other debugger frontend, i.e. "hope
> that the backend plays nicely".
> For the particular case of GDB state-of-the-art should be close to
> http://sourceware.org/bugzilla/show_bug.cgi?id=15231
> For the particular case of LLDB I haven't checked yet. Could do tomorrow.
> > Or is this functionality available only in case you don't want to debug
> with
> > qt-creator?
> This has not much, or even nothing, to do with Qt Creator. Qt Creator just
> asks some "real debugger" to produce data based on "debug information" some
> "real compiler" put "somewhere". Depending on what the compiler actually
> produces and how the debugger interprets it this ends up between "complete
> bogus" and "useful stuff". All Creator can do is to somehow visualize the
> result, or in some cases to tweak the enviroment or avoid known-to-be-bad
> code paths to improve the result. If the compiler says "variable x is at
> address X" in the debug info whereas it put it at address Y in the binary,
> there's not really much that can be done (and yes, that happened before)
> Andre'


I'll try out the latest GCC/GDB for now. =)
Good luck with the remaining LLDB implementation.

Thanks a bunch,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20130529/432b35f7/attachment.html>

More information about the Qt-creator mailing list