With 'python-lldb' you can use the debugger from python code.
https://lldb.llvm.org/python-reference.html
This is very interresting because you can e.g. use the vs-code extension 'vscode-lldb' to debug rust code (and of course a lot of other languages).
https://github.com/vadimcn/vscode-lldb/wiki/Installing-LLDB
I'am a little linux noob and was only able to find .deb or .rpm packages
https://packages.debian.org/sid/python-lldb-5.0
https://www.rpmfind.net/linux/rpm2html/search.php?query=python-lldb
Description
Description
Revisions and Commits
Revisions and Commits
| R1972 llvm | |||
| R1972:d8aa8ddd023e Update LLVM to 6.0.1 | |||
Related Objects
Related Objects
Event Timeline
Comment Actions
To be clear: this isn't a separate package source. It is part of lldb and would either be shipped with it or as lldb-python
Comment Actions
For reference this is the error you get when enabling lldb python support. Should be an easy fix will try to get round to it finally.
CMake Error at tools/lldb/scripts/cmake_install.cmake:41 (file): file INSTALL cannot find "/home/build/YPKG/root/llvm/build/llvm-6.0.1.src/sol-stage2/lib64/python2.7". Call Stack (most recent call first): tools/lldb/cmake_install.cmake:51 (include) tools/cmake_install.cmake:50 (include) cmake_install.cmake:65 (include)
Comment Actions
@joebonrichie try this one. You'll have to pushd into the lldb source dir to apply it and popd out.
Comment Actions
Thanks @sunnyflunk, fixes the issue. This will be resolved finally when we update LLVM to 6.0.1 after sync.