About 28,200 results
Open links in new tab
  1. cpython/Tools/gdb/libpython.py at main · python/cpython

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

  2. Debugging C API extensions and CPython Internals with GDB

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

  3. linux - Loading python support in gdb - Stack Overflow

    Nov 3, 2016 · One thing to try is to find the file where py-bt is defined, and then make sure the containing directory is in some auto-load or debug-file directory that gdb will search. In general, the …

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

  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 capabilities. …

  7. DebuggingWithGdb - Python Wiki

    GDB on Legacy systems It may happen that you need to use gdb on a legacy system without advanced Python support. In this case you may find the following information useful. GDB Macros A set of GDB …

  8. Debugging Python C/C++ extensions in gdb - Boom! Michael ...

    Nov 20, 2015 · 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 …