Hi All,

I am running lldb python API in Ubuntu 16.04 LTS. The debugger can launch
any process inside python; and I always got the following SBProcess state:

SBProcess: pid = 0, state =launching, threads = 0, executable = test

I ran the same python code in MacOS X, the process get launched
successfully. Do I need some special configuration on Ubuntu? I have
attached python code below:

import lldb

debugger = lldb.SBDebugger.Create()
debugger.SetAsync(False)
target = debugger.CreateTargetWithFileAndArch ("test",
lldb.LLDB_ARCH_DEFAULT)
target.BreakpointCreateByLocation("test.c", 12)
process = target.LaunchSimple (None, None, os.getcwd())
print process

Thanks,
Guolong
_______________________________________________
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

Reply via email to