Closed wxq491216 closed 3 years ago
应该没有关系吧?
我确认过,把.lldbinit中添加的语句注释掉,QT Creator就能够正常用了,具体原因我也不是很清楚,查资料有提到过DefaultPythonVersion导致的,但确认了我本地值是2,有点奇怪。
`[xia0LLDB] * Version: 3.1
[xia0LLDB] + Loading all scripts from /Users/apple/Downloads/xia0LLDB-master/src [xia0LLDB] Finished (lldb) script sys.path.insert(1, '/Applications/Qt Creator.app/Contents/Resources/debugger/') (lldb) script from lldbbridge import Traceback (most recent call last): File "", line 1, in
File "/Applications/Qt Creator.app/Contents/Resources/debugger/lldbbridge.py", line 35, in from utils import DebuggerStartMode, BreakpointType, TypeCode, LogChannel ImportError: cannot import name 'DebuggerStartMode' from 'utils' (/Users/apple/Downloads/xia0LLDB-master/src/utils.py)`
我临时将.lldbinit文件删除后,QT的debug恢复正常工作
在mac版本上使用后,会导致QT Creator无法正常调试,有办法兼容这个问题么?