Replies: 1 comment
-
It is possible, however it seems odd that it requires pygdbmi, since LLDB does not use that protocol. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This is a follow up to #1250. I finally figured out why codelldb doesn't work with qt pretty printers and how to fix it. The reason I am sharing this is twofold:
Turns out the issue was the Qt's python pretty printes (
QtCore.py
file) were using deprecated python libraries (e.g.imp
) which are removed in newer python version (i.e. the python included in thecodelldb
distribution). So I created a modified version ofQtCore.py
here: https://gist.github.com/ahrm/639eae21f715d7d2c6bf3101cc667dc9 which doesn't use the deprecated libraries.But still there was an issue because
QtCore.py
requirespygdbmi
which is not present incodelldb
's included python (and as far as I know the built-in python doesn't have an easy way of installing packages, I could be wrong about this though). So what I did was installpygdbmi
on my system's python and then copy it from the system's python package location to~/.vscode/extensions/vadimcn.vscode-lldb-1.11.5/lldb/lib/python3.12/site-packages
.Beta Was this translation helpful? Give feedback.
All reactions