Qt Creator fails to start debugging on Mac

孤人 提交于 2019-12-06 14:40:18

This appears to be an issue with the LLDB that comes with CLTools. A temporary workaround would be to fallback to Python 2 by setting the following default:

defaults write com.apple.dt.lldb DefaultPythonVersion 2

A more detailled explanation is that the RPATH in liblldbPluginScriptInterpreterPython3.dylib is wrong. It's failing to find the Python3 framework, which prevents LLDB from loading the scripting plugin. The directory layout is slightly different between Xcode and CLTools. Another workaround would be to use the lldb that's part of Xcode, instead of the one that comes with CLTools.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!