malor / cpython-lldb

LLDB extension for debugging Python programs
MIT License
80 stars 4 forks source link

Implement a command for listing of the source code #20

Closed malor closed 4 years ago

malor commented 4 years ago

With a caveat that at the moment it's only possible to list the source code of the Python module being executed in the most recent Python frame. This will be fixed when we add support for walking up and down the Python call stack.

Small fixes for Python 3 compatibility (i.e. when LLDB is linked against Python 3 libpython).