Library / SDK
cyrus-and/gdb-dashboard avatar
cyrus-and/gdb-dashboard

gdb-dashboard: one .gdbinit file that draws the whole debugging state

Modular visual interface for GDB in Python

12,278 stars823 forksPythonMIT

At a glance

What is it?
A standalone Python-enabled init file that replaces scattered GDB command output with a modular terminal panel, assembled from a repository of exactly three files.
Who is it for?
gdb-dashboard is at its best as a drop-in default for anyone who already knows how to drive plain GDB and finds the scrollback unfriendly. It costs one file in your home directory, adds no build step and no dependency beyond an optional syntax highlighter, and it removes nothing you already rely on.
Can I use it commercially?
Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
Is it still maintained?
Yes. The repository last received commits 116 days ago.
What is it written in?
Mainly Python, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 9, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • cyrus-and/gdb-dashboard12,278 ★ · +12
Star history
Repository2026-10-072026-11-09
cyrus-and/gdb-dashboard12.3k12.3k

12 Stars in the last 33 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

A single init file that redraws itself at every stop

The project describes itself in one line: a standalone `.gdbinit` file written using the GDB Python API that enables a modular interface showing relevant information about the program being debugged. That phrasing is accurate about the architecture, which is the first thing worth understanding. There is no daemon, no extension to build, no server to launch. The whole thing is one text file that GDB's Python interpreter reads at startup, and the dashboard appears automatically every time the inferior program stops.

The stated goal is reducing the number of GDB commands needed to inspect the status of a program, so the developer can focus on control flow. That is a design position rather than a feature list. Plain GDB gives you `info registers`, `bt`, `info threads`, `x/16i $pc`, `list`, and each of those writes to the terminal and pushes your prompt further down the scrollback. gdb-dashboard inverts that: you get the same information continuously laid out, and the commands become something you reach for only when the panels are not enough.

The repository is as minimal as the design. The tree is three entries, `.gdbinit`, `LICENSE` and `README.md`, and the licence is MIT. There is no package manifest, no test directory and no build configuration, because there is nothing to build. The project has 12,253 stars and 818 forks, and it is not archived, with the last push on 2026-07-17.

Installing means fetching one file from the repository

The quickstart is a single command. Rather than cloning anything, the README tells you to place the `.gdbinit` file in your home directory, which the wget invocation handles directly:

bash
wget -P ~ https://github.com/cyrus-and/gdb-dashboard/raw/master/.gdbinit

That URL is worth reading carefully, because it points at the raw file on the default branch rather than at a release tarball. The consequence is that you are installing whatever is currently at the top of master, with no version marker and no way to pin it after the fact. For a configuration file that most people install once and leave alone, that is usually fine. If you care about reproducibility across a fleet of machines, you would want to save a copy of the file alongside your dotfiles repository instead.

Syntax highlighting is the one optional piece, and it comes from an external library rather than anything bundled here:

bash
pip install pygments

Installing Pygments enables syntax highlighting, as the README says. Nothing else is required. After that, you debug as you normally would and the dashboard appears automatically every time the inferior program stops, which is the behaviour the README promises.

Nothing is redefined, everything sits under one command

The README is explicit on one point that matters more than any single panel: no GDB command has been redefined. Instead, all the features are available via the main `dashboard` command, and `help dashboard` is the way to see it. This is the right call for a tool that lives inside someone else's debugging session. A redefinition would silently change the meaning of a command you already type out of decades of muscle memory, and on a tool used at work that is not an acceptable trade.

The consequence is that the whole interface is reached through the single `dashboard` command. A configuration surface that all lives under one entry point is easy to script, easy to disable and easy to hand to another developer, and the `help dashboard` output is the reference you will actually use.

Panels you can enable, disable and rearrange

Modular is the word the project uses, and it means two distinct things. The README describes a modular interface showing relevant information about the program being debugged; it does not list the individual panels or how to configure them.

What the panel set does not do is replace interaction. gdb-dashboard is a view, not an editor. You still type the actual GDB commands to change execution, and the dashboard redraws to reflect the new state.

Rendering is ANSI in a terminal, not a graphical window

The dashboard is drawn in the terminal that GDB is already running in, and the README lists nothing to install beyond the file itself (plus optional Pygments).

The README ends where the wiki begins

The README is short by design and it points you onward explicitly: head to the wiki to learn how to perform the most important tasks. That single line is the biggest thing to know before evaluating the project, because the interesting material is not on the repository page. The README sends you to the wiki to learn how to perform the most important tasks.

So the documentation split looks like this. The README gives you the premise, the one-line install, the optional Pygments dependency and the promise that nothing gets redefined. The wiki gives you how to actually use it once installed. There are no published releases to read release notes against and no separate documentation directory in the tree, so if you want to know what changed between the version you have and the version you are about to fetch, the commit history on master is where you would look.

That arrangement suits a project of this kind, where the surface area is one file and the behaviour is mostly visual. It does mean the first session after installing is a wiki session.

Editorial conclusion

gdb-dashboard is at its best as a drop-in default for anyone who already knows how to drive plain GDB and finds the scrollback unfriendly. It costs one file in your home directory, adds no build step and no dependency beyond an optional syntax highlighter, and it removes nothing you already rely on. What it does not give you is a GUI: it works inside the terminal GDB already runs in. The one thing to read before installing is the wiki, because the README explicitly leaves the task walkthroughs there and the repository itself publishes no tagged releases to track. Start with the wget line, run a program until it stops, then explore the dashboard command with help dashboard and the wiki.

Frequently asked questions

Does gdb-dashboard replace or break my existing GDB commands?

No. The README states plainly that no GDB command has been redefined, and that every feature is reached through the main dashboard command instead. Your existing commands keep their original meanings, and help dashboard lists the options the tool adds.

How do I install gdb-dashboard and get syntax highlighting?

Fetch the .gdbinit file into your home directory with the wget command given in the quickstart, then install Pygments with pip if you want colour. Pygments is the only optional dependency, and the dashboard then appears automatically each time the inferior program stops.

Can I show only the panels I need?

The README does not list the individual panels or options. It says that all features are available through the main `dashboard` command (see `help dashboard`) and points to the wiki for how to perform the most important tasks.

Official sources

  1. cyrus-and/gdb-dashboard on GitHub
  2. Issues
  3. License: MIT
  4. README
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/cyrus-and-gdb-dashboard.svg)](https://hysenlabs.com/projects/cyrus-and-gdb-dashboard)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/cyrus-and-gdb-dashboard.svg)](https://hysenlabs.com/projects/cyrus-and-gdb-dashboard)

Was this useful?