[Qt-creator] LLDB support
Michael Seydl
michael.seydl at gmail.com
Mon Aug 27 13:24:10 CEST 2012
Hi.
Progress. Progress. :) I'm push my changes on my github account soon, but here's the caveat when using lldb on Mac. When debugging binaries build with llvm-gcc almost all the lldb python stl formatter and helper are broken. And even if someone would take it on to write some new formatters it would be hard for the debugger to distinguish which compiler actually build the binary.
Therefore my implementation of the lldb debugger just debugs binaries properly, which were build with clang. Guess that's a bummer as clang is still and unsupported mkspec.
What do you think?
Regards,
Mike
On Aug 22, 2012, at 4:00 PM, Stephen Chu wrote:
> On 8/22/12 3:42 AM, Michael Seydl wrote:
>> I'd like to take it on because the gdb helpers often go bonkers when inspecting more complex data structures. Guess that's more due to limitation on the aged gdb and it's gdb/mi. As there are two ways to integrate lldb my question to you is which one you prefer.
>>
>> 1. Integrating the lldb api (LLDB.frame). (Which is obviously an IPC engine and code for that already exists. Unfortunately the host/guest ipc code is quite outdated. At least in the master branch)
>> 2. Integrating the python interface. (just like the current gdbengine does right now). Hey, maybe I could even reuse some of the scripts there.
>>
>> Whaddaya say?
>>
>> greetz,
>> mike
>>
>> p.s.: I already got the 2. version as far as launching the executable and halting at a break point :)
>>
>>
>
> Wow. That's the best news I have for some time. My primary platform is Mac right now and the debugging support with GDB is really maddening. Please make this happen. Please... :)
>
> Oh. And I vote for option 2, since it looks like will be getting us there faster.
>
More information about the Qt-creator
mailing list