4ch12dy / xia0LLDB

LLDB python scripts for iOS arm64 reversing by xia0
650 stars 114 forks source link

与QT Creator程序冲突 #24

Closed wxq491216 closed 3 years ago

wxq491216 commented 3 years ago

在mac版本上使用后,会导致QT Creator无法正常调试,有办法兼容这个问题么?

4ch12dy commented 3 years ago

应该没有关系吧?

wxq491216 commented 3 years ago

我确认过,把.lldbinit中添加的语句注释掉,QT Creator就能够正常用了,具体原因我也不是很清楚,查资料有提到过DefaultPythonVersion导致的,但确认了我本地值是2,有点奇怪。

MustangYM commented 2 years ago

确实与Qt Creator的debug不兼容

QT Error log

`[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恢复正常工作