# Simple gdb debugging of CPython extensions

> A simple example showing how to build and debug a CPython extension with gdb

Page: https://nowfound.app/launch/simple-gdb-debugging-of-cpython-extensions

- Launched: 2019-03-27
- Launch-day votes: 11; #929 of 2,653 launches that month (top 35%)
- Website: [github.com](https://github.com/mjbryant/python-extension-gdb-example), online when checked 2026-09-18
- Category: [Dev tools](https://nowfound.app/c/developer-tools.md)
- Pricing: Free. Free and open source (checked 2026-11-24 on its site)
- Forecast: 93% chance its website is still online in November 2031 (99% in November 2027, 96% in November 2029). Made 2026-11-29 and not revised. Typical launch of 2019: 80%. [Method](https://nowfound.app/forecast.md)
- Originality: 81/100 (original). More original than 81% of products launched in 2019. On its launch day the archive held no similar products; 2 products like it have launched since.

## In plain words

This is a debugging tool designed to simplify gdb usage when working with CPython extensions. It's built for developers who write C or C++ extensions for Python and need to troubleshoot their code at the system level. The tool streamlines the gdb debugging workflow, reducing complexity and making it easier to inspect and fix issues in extension code without extensive gdb knowledge.

_Written by AI from its launch page and website, 2026-09-13._

## What it does, from its own words

A simple example showing how to build and debug a CPython extension with gdb - mjbryant/python-extension-gdb-example

## Does a similar job

- [ChatGDB](https://nowfound.app/launch/chatgdb-gpt-powered-gdb-assistant): ChatGDB is a tool designed to superpower your debugging experience with GDB, a debugger for compiled languages. Use it to accelerate your debugging workflow by leveraging the power of ChatGPT to assi… (2023-04-07, 189 votes, free, forecast: 93% online in 2031, github.com)
- [Debugging-Friendly Tracebacks for Python](https://nowfound.app/launch/debugging-friendly-tracebacks-for-python): Debugging-friendly exceptions for Python. (2019-04-28, 123 votes, free, forecast: 92% online in 2031, github.com)
- [Httpdbg](https://nowfound.app/launch/httpdbg-a-tool-to-trace-the-http-requests-sent-by-your-pytho): Httpdbg is a debugging tool for Python developers that traces HTTP and HTTPS requests made by Python programs. (2024-09-25, 200 votes, free, forecast: 95% online in 2031, github.com)
- [Watchpoints](https://nowfound.app/launch/watchpoints-an-easy-to-use-watchpoints-equivalent-library-fo): watchpoints is an easy-to-use, intuitive variable/object monitor tool for python that behaves similar to watchpoints in gdb. (2021-01-30, 77 votes, free, forecast: 90% online in 2031, github.com)
- [A dbg(...) macro for C++](https://nowfound.app/launch/a-dbg-macro-for-c): A dbg(…) macro for C++. (2019-09-21, 162 votes, free, forecast: 93% online in 2031, github.com)
- [Gsubpy](https://nowfound.app/launch/gsubpy-an-interpreter-for-subset-of-python-written-in-go): Gsubpy is an interpreter that executes a subset of Python code, built from scratch in Go. (2023-04-21, 65 votes, free, forecast: 96% online in 2031, github.com)

All alternatives: https://nowfound.app/alternatives/simple-gdb-debugging-of-cpython-extensions.md

## For the maker of Simple gdb debugging of CPython extensions

- Feature it at the top of the NowFound home page for $19 for 30 days, marked sponsored: https://nowfound.app/feature/simple-gdb-debugging-of-cpython-extensions
- Free: put the badge on the product's own site and it joins Featured products after the paid spots, and this page links to the site with a normal link search engines follow. HTML for the footer: `<a href="https://nowfound.app/launch/simple-gdb-debugging-of-cpython-extensions"><img src="https://nowfound.app/badge/simple-gdb-debugging-of-cpython-extensions.svg" alt="Simple gdb debugging of CPython extensions on NowFound" height="32"></a>`

Source: [Show HN post](https://news.ycombinator.com/item?id=19502873)
