Last active
May 11, 2022 05:18
-
-
Save alexey-pelykh/50718616f4ab9c310c13ec6812495739 to your computer and use it in GitHub Desktop.
Configure LLDB on MacOS to use pretty-printers from Qt Creator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| brew install --cask qt-creator | |
| pip3 install pygdbmi | |
| cat <<EOT >> ~/.lldbinit | |
| script -l python -- import sys; sys.path += [ "/opt/homebrew/lib/python%s.%s/site-packages" % (sys.version_info.major, sys.version_info.minor) ] | |
| command script import "/Applications/Qt Creator.app/Contents/Resources/debugger/lldbbridge.py" | |
| EOT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment