{"repo":"malor/cpython-lldb","free":true,"listed":false,"github":"https://github.com/malor/cpython-lldb","clone":"git clone https://github.com/malor/cpython-lldb.git","description":"LLDB extension for debugging Python programs","language":"Python","stars":93,"topics":["cpython","lldb","debugging","python"],"license":"MIT","category":"dev-tools","readme_excerpt":"Overview ======== cpython lldb is an LLDB extension for debugging Python programs. It can be useful for troubleshooting stuck threads and crashes in the interpreter or external libraries. Unlike most Python debuggers, LLDB allows attaching to a running process without instrumenting it in advance, as well as loading a process coredump to perform an offline (or post-mortem) analysis of a problem. When analyzing the state of a Python process, normally you would only have access to interpreter-level information: most variables would be of type PyObject , and stack traces would only contain CPython internal calls and calls to library functions. Unless you are a CPython developer troubleshooting the interpreter implementation, that is typically not very useful. This extension, however, allows you to extract application-level information about execution of a program: print the values of variables, list the source code, display Python stack traces, etc. While CPython already provides a similar extension for gdb out of the box, LLDB might be the debugger of choice on some operating systems, e.g. on Mac OS. This extension requires CPython to be built with debugging symbols enabled, which is not the case for some Linux distros (notably Arch Linux). CPython official Docker images are known to work correctly, as they are used for integration testing. Features ======== cpython lldb targets CPython 3.5+ and supports the following features: pretty-printing of built-in types (int, bool, float","default_branch":null,"files":null,"tree":[],"storefront":"/r/malor","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/malor/cpython-lldb/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}