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
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