Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 3.3.0
-
None
-
Linux 3.18.2-2-ARCH #1 SMP PREEMPT Fri Jan 9 07:37:51 CET 2015 x86_64 GNU/Linux
-
4babc2785d76979f32fc9d3d0a262663b22dec41
Description
On ArchLinux, python executable is Python version 3. Qt Creators' LLDB debugger script lldbbridge.py is a Python2 script.
So when launching LLDB debug session, Debugger Log shows:
ATTEMPT SYNC Starting debugger "LldbEngine" for ABI "x86-linux-generic-elf-64bit"... Start parameters: 'omnireader_qt' mode: 1 ABI: x86-linux-generic-elf-64bit ... STARTING LLDB: python -i /usr/share/qtcreator/debugger/lldbbridge.py /usr/bin/lldb eERROR: Lldb stderr: >>>
Running the last command in terminal gives:
$ python -i /usr/share/qtcreator/debugger/lldbbridge.py /usr/bin/lldb Traceback (most recent call last): File "/usr/share/qtcreator/debugger/lldbbridge.py", line 60, in <module> if error.startswith('lldb: invalid option -- P'): TypeError: startswith first arg must be bytes or a tuple of bytes, not str >>>