Skip to content

Instantly share code, notes, and snippets.

@alexey-pelykh
Last active May 11, 2022 05:18
Show Gist options
  • Select an option

  • Save alexey-pelykh/50718616f4ab9c310c13ec6812495739 to your computer and use it in GitHub Desktop.

Select an option

Save alexey-pelykh/50718616f4ab9c310c13ec6812495739 to your computer and use it in GitHub Desktop.
Configure LLDB on MacOS to use pretty-printers from Qt Creator
#!/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