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

    5 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 debugging …

  2. cpython/Tools/gdb/libpython.py at main · python/cpython

    The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

  3. 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)

  4. 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.

  5. Debug CPython with gdb — Unofficial Python Development ...

    Debug CPython with gdb ¶ Python built in debug mode is ABI compatible with Python built in release mode since Python 3.8: Debug build uses the same ABI as release build. Current Python thread …

  6. Python (Debugging with GDB) - sourceware.org

    Python scripts used by GDB should be installed in data-directory/python, where data-directory is the data directory as determined at GDB startup (see Data Files). This directory, known as the python …

  7. GDB support - Python Developer's Guide

    GDB support ¶ Page moved ¶ Information on debugging CPython using GDB is now in the main Python documentation, since it is relevant for C extension modules as well. Please read it first: Debugging C …

  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 of CPython …