
gdbgui
gdbgui is a browser-based frontend to gdb, the gnu debugger. You can add breakpoints, view stack traces, and more in C, C++, Go, and Rust! It's perfect for beginners and experts. Simply run gdbgui from the terminal to start the gdbgui server, and a new tab will open in your browser. Sound Good? Get started with installation. Testimonials
Installation - gdbgui
If you do not have already have gdb/make/gcc installed, there are two options to install them on Windows: MinGW and cygwin. MinGW (recommended) Minimal GNU for Windows ( MinGW ) is the recommended Windows option.
Getting Started - gdbgui
This will start gdbgui's server and open a new tab in your browser. That tab contains a fully functional frontend running gdb! You can see gdbgui in action on YouTube. To see the full list of options gdbgui offers, you can view command line options by running
Guides - gdbgui
These guides help you get gdb and gdbgui working in specific environments. Remember, these guides, like gdbgui, are open source and can be edited by you, the users! See contributing to modify these docs.
Screenshot Tour - gdbgui
A dashboard is available to let you look at all gdb instances managed by gdbgui. You can kill them, or attach to them. More than one person can attach to a managed gdb subprocess and participate in the debugging session simultaneously. i.e. if one person steps forward, all connected users see the program step forward in real time.
Examples - gdbgui
Use Mozilla's record and replay (rr) debugging supplement to gdb. rr lets your record a program (usually with a hard-to-reproduce bug in it), then deterministically replay it as many times as you want. You can even step forwards and backwards.
How it Works - gdbgui
Convert key/value pairs of gdb's machine interface output into a user interface; Maintain the state of gdb; Provide UI elements that can send gdb machine interface commands to gdb
API - gdbgui
Example: gdbgui [...] --args ./mybinary myarg -flag1 -flag2 (default: []) gdb settings: -g GDB_CMD, --gdb-cmd GDB_CMD gdb binary and arguments to run. If passing arguments, enclose in quotes.
Changelog - gdbgui
Replaced single terminal on frontend with three terminals: an interactive xterm terminal running gdb, a gdbgui console for diagnostic messages, and a terminal connected to the inferior application being debugged. Updates to the dashboard; Add ability to specify gdb command from the browser. This can now be accomplished from the dashboard.
FAQ - gdbgui
You can search gdb documentation and use any gdb command you want in the console at the bottom of the window. If you think there should be a UI element for a command or function, create an issue on GitHub and I will consider it.