Qt5.6. Commercial - Unable to start lldb on MAC OSX
-
Are you using the latest version of Qt Creator ?
-
Sorry, I wasn't precise enough: Qt Creator 4 ?
-
No problem:
OS is 10.10.5 YOSEMITE
XCode 7.2.1 (7C1002)
QT 5.6 Commercial
QT Creator 4.0.0 From revision 605ea627cc
lldb-340.4.119.1
[Scrrenshot] https://dl.dropboxusercontent.com/u/3995257/Xcode_qt56_commercial.pngThanks you for your time
P -
@SGaist Hi
It seems i found a solution using part of the answer at this list
[QTForum]https://forum.qt.io/topic/64316/can-t-debug-qt5-5-1-lldb-on-osx/3I needed to path the file dumper.py adding:
def hexencode(self, s): + if not s: + return '' if sys.version_info[0] == 2: return s.encode("hex")
-
Great ! What puzzles me is that it should already be part of Qt Creator 4… Are you using the Beta or release version ?
-
Well, there's an offline installer for both versions, hence my question about Beta vs Release.
-
I have a similar error with QtCreator 4.0.2 (release version downloaded from qt.io). The fix above is not applicable because the Python files appear to already have the equivalent code.
I have Qt 5.6.0, built from the commercial source, and Xcode 7.1.1 on Yosemite.When I try to debug my project I get an error: Unable to start LLDB "/Applications.Xcode.app/Contents/Developer/usr/bin/lldb": chdir: No such file or directory. This path was autodetected by QtCreator. It does exist and I can run lldb from the commandline at that location using the same user I launched QtCreator with.