<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">On Wed, May 29, 2013 at 5:41 AM, André Pönitz <span dir="ltr"><<a href="mailto:andre.poenitz@mathematik.tu-chemnitz.de" target="_blank">andre.poenitz@mathematik.tu-chemnitz.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">On Wed, May 29, 2013 at 01:28:28AM +0900, Paulo Silva wrote:<br>

> Hi,<br>
><br>
> Is there a best c++11 compiler for using with qtc on mac?<br>
<br>
</div>I don't know.<br>
<div class="im"><br>
> How's the clang debugger interface coming along?<br>
<br>
</div>You mean LLDB support in Creator?<br>
<br>
Peu ŕ peu. Slower than hoped for, faster than expected...<br>
<br>
You can check out the 2.8 branch at any time to see the current state,<br>
but it's not yet ripe for production.<br>
<br>
The main obstacle currently is basic event handling, I don't seem to be<br>
able find a robust method to get hold of _all_ interesting events with<br>
one approach.<br>
<br>
_If_ the process starts and properly stops, either by breakpoint or<br>
interrupt, it's rather nice. The LLDB interface to access state and data<br>
is very rich, there's no need to jump through hoops there.<br>
<br>
Thanks to Python's "duck typing" it looks like we can re-use most of the<br>
data dumpers unchanged, or mostly unchanged.  QString, QList, std::vector,<br>
std::string work already, I haven't really looked at the rest yet.<br>
<br>
Of course, there's a lot of missing features (on the integration side, not<br>
on what LLDB could provide) The disassembler view is very basic, stepping<br>
there doesn't work yet, module list needs a manual kick, no thread<br>
switching yet, etc etc. But most of those features will only translate to<br>
a handful lines of code each, so this part is more grunt work than rocket<br>
science.<br>
<br>
In any case, we will have "something" for 2.8 Final. How this "something"<br>
will compare to the GDB interface depends pretty much on whether the event<br>
handling can be stabilized in time.<br>
<br>
[And this is, "of course", Mac-only. LLDB on Linux seems to be stuck<br>
somewhere between non-compilable and non-functional, depending on the<br>
exact phase of the moon]<br>
<br>
Andre'<br>
</blockquote></div><br></div><div class="gmail_extra"><div class="gmail_extra">Thanks, that sounds... interesting. :)</div><div class="gmail_extra"><br></div><div class="gmail_extra">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?</div>
<div class="gmail_extra">Or is this functionality available only in case you don't want to debug with qt-creator?</div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks</div></div></div>