explaingit

cs01/gdbgui

10,332TypeScriptAudience · developerComplexity · 2/5Setup · easy

TLDR

gdbgui is a browser-based visual debugger that wraps GDB, showing your source code, breakpoints, call stack, and variable values in a web tab instead of on the command line.

Mindmap

mindmap
  root((gdbgui))
    What it does
      Visual GDB interface
      Browser-based debugger
      Source code view
    Use Cases
      Debug C and C++
      Debug Rust and Go
      Inspect variables
    Tech Stack
      TypeScript
      Python
      GDB
    Audience
      Systems developers
      Embedded engineers
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Debug a C or C++ program visually in a browser tab instead of typing raw GDB commands in the terminal.

USE CASE 2

Step through Rust or Go code line by line with a graphical view of the call stack and variable values.

USE CASE 3

Set breakpoints and inspect data structures in a running program without memorizing GDB text commands.

Tech stack

TypeScriptPythonGDB

Getting it running

Difficulty · easy Time to first run · 5min

Requires GDB installed on your system and a compiled binary to debug.

In plain English

gdbgui is a browser-based interface for GDB, the GNU Debugger. GDB is a widely used tool that lets developers pause running programs, inspect their state, and step through code line by line to find bugs. The problem is that GDB is a command-line tool, and its text interface can be difficult to read, especially when you need to see multiple things at once like the current stack, variable values, and source code. gdbgui solves this by wrapping GDB in a visual interface that opens in a browser tab. To use it, you run gdbgui from your terminal and it automatically opens a new tab in your web browser. From there you can set breakpoints (spots in the code where execution should pause), step through code one line at a time, view the call stack (the chain of function calls that led to the current point), and inspect data structures visually. It works with programs written in C, C++, Go, Rust, and Fortran. The main advantage over using GDB directly is that the browser interface can show your source code alongside the debugger controls, making it easier to see where you are in the program and what the values of your variables look like at each step. It installs as a Python package via pip, which is Python's standard package manager. The project README itself is minimal and points to gdbgui.com for full documentation. The description and feature summary above come from the repository's description field rather than the README body. The source code is TypeScript for the frontend, with a Python backend that communicates with GDB.

Copy-paste prompts

Prompt 1
I have gdbgui installed via pip. Walk me through setting a breakpoint on line 42 of main.c and stepping through to find a segfault.
Prompt 2
Using gdbgui, how do I inspect the value of a pointer and the struct it points to while stepping through a C++ program?
Prompt 3
Show me how to use gdbgui to debug a Rust binary, what GDB flags do I need and how do I read the variable panel?
Open on GitHub → Explain another repo

← cs01 on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.