<div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial">Hello,
<br>I am trying to write lldb python script on MacOS. The script looks like:
<b>import lldb
debugger = lldb.SBDebugger.Create()
debugger.SetAsync(False)
target = debugger.CreateTargetWithFileAndArch ("test", lldb.LLDB_ARCH_DEFAULT)
target.BreakpointCreateByLocation("test.c", 12)</b>
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?<br><br>Thanks,
Guolong</pre></div>