[lldb-dev] Python example does not work with latest LLDBs

Roman Popov via lldb-dev lldb-dev at lists.llvm.org
Sat Feb 11 10:07:35 PST 2017


I'm testing example from https://lldb.llvm.org/python-reference.html (USING
THE LLDB.PY MODULE IN PYTHON)  on Ubuntu 16.04

For some reason it works only with LLDB 3.9, is it because LLDB 4.0/5.0 are
not stable yet?

#5.0   -- Does not work

deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial main

# 3.9  -- Works

deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-3.9 main

# 4.0  -- Does not work

deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-4.0 main


>clang-5.0 -g test.cpp

>./python_example.py

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

Thanks,
Roman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20170211/3e942d99/attachment.html>


More information about the lldb-dev mailing list