About 104,000 results
Open links in new tab
  1. Debugging C API extensions and CPython Internals with GDB

    2 days ago · 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 …

  2. cpython/Doc/howto/gdb_helpers.rst at main · python/cpython

    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 …

  3. The python-gdb.py extension adds CPython interpreter information to GDB. The extension helps introspect the stack of currently executing Python functions. Given a Python object …

  4. Debugging Python C extensions with GDB - Red Hat Developer

    Sep 8, 2021 · You can use C debuggers to debug C extensions in Python 3.9. Learn how to use the improved Python debug build with the GNU Project Debugger (GDB)

  5. How to Debug Python C Extensions with GDB 16.3's Improved ...

    Apr 28, 2025 · Learn how to effectively debug Python C extensions using GDB 16.3's new unwinding capabilities. Step-by-step guide with practical examples.

  6. Mastering Mixed-Mode Debugging: Python, C, and GDB

    This is the most important tool for debugging Python code running on the C stack! Since GDB 7, the CPython source includes a Python script (Tools/gdb/libpython.py) that extends GDB's …

  7. Debugging Python Applications with the gdb Python Debugging ...

    Debugging Python Applications with the gdb Python Debugging Extension in gdb4hpc NOTE: These commands are deprecated in favor of python mode. Python mode has more …

  8. Debugging C API extensions and CPython Internals with GDB

    Given a Python object represented by a PyObject* pointer, the extension surfaces the type and value of the object. Developers who are working on CPython extensions or tinkering with parts …