无法在Qt Creator Mac OS X中启动LLDB

时间:2016-07-21 23:17:06

标签: macos qt qt5 qt-creator lldb

我正在转换到Mac OS(来自Win和Linux),今天我在尝试调试某些代码时收到了奇怪的消息:

无法启动LLDB" /Applications/Xcode.app/Contents/Developer/usr/bin/lldb" ;: chdir:没有此类文件或目录。

LLDB流程未能启动。被调用的程序" /Applications/Xcode.app/Contents/Developer/usr/bin/lldb"缺少,或者您可能没有足够的权限来调用该程序。

enter image description here

enter image description here

发生了什么?

1 个答案:

答案 0 :(得分:0)

当我将工作目录设置为不存在的文件夹时,我遇到了同样的问题。将我的工作目录更改为现有路径可以解决问题。