Debugging Python C extensions with GDB

Jen Kris jenkris at tutanota.com
Mon Nov 14 13:59:14 EST 2022


In September 2021, Victor Stinner wrote “Debugging Python C extensions with GDB” (https://developers.redhat.com/articles/2021/09/08/debugging-python-c-extensions-gdb#getting_started_with_python_3_9).  

My question is:  with Python 3.9+, can I debug into a C extension written in pure C and called from ctypes  -- that is not written using the C_API? 

Thanks. 

Jen





More information about the Python-list mailing list