[Interest] Qt 5.3 OSX: Debugging failed

Till Oliver Knoll till.oliver.knoll at gmail.com
Fri Jun 6 08:40:41 CEST 2014


Sending to proper recipient (the list!) this time ;)

> Am 05.06.2014 21:49, schrieb Till Oliver Knoll:
>> [...]
>> Under Settings / "Creation and Execution" ("Erstellen und Ausführen") in
>> the "Debug" tab I see:
>> 
>> * Automatically detected
>>  GDB from System in /usr/bin/gdb
>>  LLDB from System in /usr/bin/lldb
>>  LLDB from System in
>> /Applications/Xcode.app/Contents/Developer/usr/bin/lldb
>> 
>> In the "Qt Versions" tab I have only one entry (I deleted the stale Qt
>> 5.2.1 entry manually):
>> 
>> * Automatically detected
>>  /Users/tknoll/Qt5.3.0/5.3/clang_64/bin/qmake
>> [...]
> 
> Never user Creator much, but just a guess: Does "Automatically detected" pick GDB while it should use LLDB?

That was my first guess as well. In fact, there is another "Qt Kit" tab (am not at my Mac right now, so don't know for sure) which tells me that "gdb" is used as debugger. However that field seems to be read-only. Maybe I should add manual entries in the other "Debug" tab and somehow try to override the order of lldb and gdb, such that the former gets picked up first?

Also, I think 'gdb' only got installed via the "Xcode command line tools" (which can be downloaded and installed via the Settings menu) - I must admit I never really cared much about which tools were being used, since so far Qt (Creator) always picked up the right ones for me (given the proper QMAKESPEC which is set to "macx-clang" IIRC).

So I will try on another MacBook with a clean install of 10.9 and without the command line tools installed (I have to check though) and see what happens.

Meanwhile, is there any log (other than "Application Output") or something which I could consult as to get more detailed infos what exactly goes wrong? Is there a way to choose the debugger manually (which I did not have to do with the previous Qt 5.2.1 and before)?

Thanks,
 Oliver
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140606/6ab554a5/attachment.html>


More information about the Interest mailing list