[lldb-dev] Process not launching in example python script from lldb documentation

Роман Попов via lldb-dev lldb-dev at lists.llvm.org
Mon Jan 2 23:52:38 PST 2017


Hello,
Looks like last python example from http://lldb.llvm.org/
python-reference.html is not working (using the lldb.py module in python).
For some reason process is not launching in debugger.

I'm using clang++ and lldb from llvm trunk on Ubuntu 14.04 x64:

$ cat main.cpp
#include <iostream>
int main (int argc, char **argv) {
  std::cout << "Hello world \n";
  return 0;
}


$ clang++ -g main.cpp
$ ./python_example.py

 Creating a target for './a.out'
 SBBreakpoint: id = 1, name = 'main', module = a.out, locations = 1
 SBProcess: pid = 0, state = launching, threads = 0, executable = a.out

Process state is "launching", but should be "eStateStopped" according to
comments in source code.


-Roman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20170102/abf63e57/attachment.html>


More information about the lldb-dev mailing list