Debugging Python C/C++ extensions in gdb

gdb has fantastic support for debugging Python/C extensions. It understands how to print the contents of PyObject * variables using their Python-side representation, and can even print Python tracebacks.

These features are described elsewhere. I suggest visiting that link to see why this is so cool. This blog posting is …

more ...