gitmyhub

gdbgui

TypeScript ★ 10k updated 11mo ago

Browser-based frontend to gdb (gnu debugger). Add breakpoints, view the stack, visualize data structures, and more in C, C++, Go, Rust, and Fortran. Run gdbgui from the terminal and a new tab will open in your browser.

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.

TypeScriptPythonGDBsetup: easycomplexity 2/5

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.

Where it fits