Debug a C or C++ program in GDB and see source code, variable values, and the call stack all at once without typing repeated commands.
Customize which information panels appear while stepping through code to match your debugging style.
Add syntax-highlighted source display to your GDB sessions by installing the optional Pygments library.
Copy the .gdbinit file to your home directory, install Pygments for optional color syntax highlighting.
GDB is a widely used command-line debugger for programs written in C, C++, and other compiled languages. When debugging, developers typically pause a running program at certain points and then type individual commands to inspect variable values, the call stack, memory contents, and other details about what the program is doing. This back-and-forth can be slow when many pieces of information need to be checked at the same time. GDB dashboard addresses this by adding a persistent visual display that shows relevant information automatically each time execution pauses, so the developer can stay focused on the program's control flow rather than on typing inspection commands. The project is a single configuration file, called .gdbinit, written in Python using GDB's own Python extension interface. Installation consists of copying that file to your home directory. GDB loads it automatically at startup, and from that point the dashboard appears every time your program stops. No existing GDB commands are changed or replaced. The interface is described as modular, meaning different panels of information can be shown or hidden to suit your workflow. All dashboard controls are accessible through a single dashboard command added by the tool. Optionally, installing Pygments, a Python syntax-highlighting library, adds color to the output, making code and data easier to read at a glance. The README is short and links to the project's wiki for further instructions on common tasks and customization options. The individual display panels and all available configuration settings are documented there rather than in the main README.
← cyrus-and on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.