This is the error I get after trying to debug with LLDB: lldb-mi bind: Invalid command `enable-meta-key'. error: module importing failed: No module named 'urlparse' File "temp.py", line 1, in <module> File "/usr/share/kdevlldb/formatters/qt.py", line 26, in <module> from urlparse import urlsplit, urlunsplit Tested on Arch and Manjaro: Kdevelop 5.4.3 and Kdevelop 5.4.2 Looks like the problem is that Arch uses python 3 as default.
Yep. qt.py is not Python 3.x ready.
https://invent.kde.org/kdevelop/kdevelop/-/merge_requests/452 ports LLDB formatters to Python 3.
Git commit 9e8b3a030e65478e0f00c5c80d041706fd7f144f by Igor Kushnir, on behalf of Olivier de Gaalon. Committed on 15/09/2023 at 10:58. Pushed by igorkushnir into branch 'master'. Fix LLDB formatters with recent LLDB/Python Import doesn't work with recent Python versions and attempt to create a range with a floating point strLength caused an error that aborted the QString formatting. FIXED-IN: 5.13.231200 M +3 -4 plugins/lldb/formatters/qt.py https://invent.kde.org/kdevelop/kdevelop/-/commit/9e8b3a030e65478e0f00c5c80d041706fd7f144f