[lldb-dev] Can't create Target on MacOS
Guolong Zheng via lldb-dev
lldb-dev at lists.llvm.org
Fri Oct 19 14:08:25 PDT 2018
Hello,
I am trying to write lldb python script on MacOS. The script looks like:
*import lldb
debugger = lldb.SBDebugger.Create()
debugger.SetAsync(False)
target = debugger.CreateTargetWithFileAndArch ("test", lldb.LLDB_ARCH_DEFAULT)
target.BreakpointCreateByLocation("test.c", 12)*
The script works on MacOS High Sierra 10.12.6. But on 10.13.6,
"target" is None. Does anyone encounter similar problem or know what
cause this problem?
Thanks,
Guolong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20181019/ad2a9023/attachment.html>
More information about the lldb-dev
mailing list