Debugging C API extensions and CPython Internals with GDB This document explains how the Python GDB extension, python-gdb py, can be used with the GDB debugger to debug CPython extensions and the CPython interpreter itself When debugging low-level proble
Debugging Python C C++ extensions in gdb - Boom! Michael . . . Install the GDB Python-debugging extension Since version 7 0, gdb includes an embedded Python interpreter that can be used to write gdb extensions, changing how variables and backtraces are displayed CPython includes one such extension in its source tree that is useful for debugging Python itself and Python C extensions, in Tools gdb libpython py
Debug CPython Lib and Module - huangxt. com Python extension for GDB When you build CPython from source, a GDB configuration extension file named python-gdb py will be generated in the build directory as well