Qt Creator OSX lldbbridge issues any ideas?
-
Hello Everyone,
I am new to Qt trying to learn to use in a application idea I have and I have been having a hell of a time trying to get Qt Creator to play well with lldb on my mac book pro running OS X 10.10. I understand major changes happened with lldb recently not sure if this issue is related.
Initially I was getting a python error from the lldbbridge.py causing a total crash. I was able to solve this through some research and grabbing the lldbbridge.py from the master repo fixed this crash.
Now I am having a issue with lldbbridge.py trying to import a python module that does not exist. Been looking up and down the net and can't figure out where this file comes from. Apparently a lldb python module being imported is non existent. Any ideas here is the excerpt from the debugger startup.
@ERROR: Lldb stderr: Traceback (most recent call last):
e File "/Users/<uname>/Qt5.4.0/Qt Creator.app/Contents/Resources/debugger/lldbbridge.py", line 39, in <module>
e import lldb
eImportError: No module named lldb@ -
Just a update on my progress with the issue.
I managed to get the debugger to fire up by modifying lldbbridge.py to force load the LLDB.framework python directory onto the sys.path. This solved the input error but now there is a issue with lldb throwing a standard input error.
All I get now when trying to debug is ERROR: Lldb stderr: >>>
Not sure why this is going on as the debugger works fine in Xcode and on the terminal just not in Qt Creator.
-
This has been fixed in the repo by now, either build from source or wait for the next release.
Mac OS 10.10 was released fter the version of Qt Creator you are running. It's practically impossible to anticipate LLDB changes (or most of the other 3rd party components for that matter) before they are released.