Skip to main content
https://travis-ci.org/cs01/gdbgui.svg?branch=master https://img.shields.io/badge/pypi-v0.7.2.4-blue.svg https://img.shields.io/badge/python-2.7,3.3,3.4,3.5,pypy-blue.svg https://img.shields.io/badge/SayThanks.io-☼-blue.svg

A browser-based frontend/gui for GDB

gdbgui

A modern, browser-based frontend to gdb (gnu debugger). Add breakpoints, view stack traces, and more in C, C++, Go, and Rust! Simply run gdbgui from the terminal a new tab will open in your browser.

Install

pip install gdbgui --upgrade

Run

gdbgui

A new tab in your browser will open with gdbgui in it.

Help

gdbgui -h displays command line options, such as changing the port or host ip. For any other questions feel free to email me or create an issue in github.

Compatibility

gdbgui has been tested to work in these environments. It may work in other environments as well.

Python versions: 2.7, 3.3, 3.4, 3.5, pypy

Operating systems: Ubuntu 16.04

Browsers: Chrome, Firefox, Ubuntu Web Browser

Development

Contributions and bug fixes are welcome!

gdbgui was designed to be easily hackable and extendable. There is no build system necessary to run or develop this app.

There are three parts to gdb:

  1. gdbgui.js: There is just one JavaScript file, and that file contains the majority of the app itself. It sends AJAX requests to interact with gdb, then gets the response and updates the DOM as necessary.

  2. gdbgui.jade: HTML file that defines the frontend (Note: Jade/Pug is a more concise form of html. Also note: jade has been renamed to pug, but the Python pypi package still maintains the jade name. See demo here.)

  3. backend.py: The backend consists of a single Python file, which makes use of pygdbmi to interact with a gdb subprocess, and Flask to set up url routing and responses.

To get started with development, set up a new virtual environment, then run

git clone https://github.com/cs01/gdbgui
cd gdbgui
pip install -r gdbgui/requirements.txt
python -m gdbgui/backend.py --debug

Testing

python setup.py test runs unit tests located in gdbgui/tests/test_app.py. Add new tests there as necessary.

Future Improvements

  • Hover over a variable in source code to see its value

  • Embed plotting tools to plot a variable’s value over time

  • Assign values to variables / memory addresses

  • Embed a binary/decimal/hex calculator

Metadata

Release files for gdbgui 0.7.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gdbgui 0.7.3.0
File Size Uploaded
gdbgui-0.7.3.0.tar.gz 286.0 kB Details

Release files / gdbgui-0.7.3.0.tar.gz

Download URL gdbgui-0.7.3.0.tar.gz
Size 286.0 kB
Tags Source
SHA-256 checksum
How to use checksums
21e813bdabc245b6cb1acab0ee63138438180ef8829518542fb70318d0291d9b
BLAKE2b-256 checksum
How to use checksums
cc5fdbfd5ef8b207f7f165a54d35046b9bc9b196d6081417cd3072fbe90326f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.9.0.1

1 release file

0.9.0.0

1 release file

0.8.2.0

1 release file

0.8.1.0

1 release file

0.8.0.3

1 release file

0.8.0.2

1 release file

0.8.0.1

1 release file

0.8.0.0

1 release file

0.7.9.5

1 release file

0.7.9.4

1 release file

0.7.9.3

1 release file

0.7.9.2

1 release file

0.7.9.0

1 release file

0.7.8.3

1 release file

0.7.8.2

1 release file

0.7.8.1

1 release file

0.7.8.0

1 release file

0.7.5.6

1 release file

0.7.5.5

1 release file

0.7.5.4

1 release file

0.7.5.3

1 release file

0.7.5.2

1 release file

0.7.5.1

1 release file

0.7.5.0

1 release file

0.7.4.0

1 release file

0.7.3.9

1 release file

0.7.3.8

1 release file

0.7.3.7

1 release file

This release

0.7.3.0 This release

1 release file

0.7.2.4

1 release file

0.7.2.3

1 release file

0.7.2.2

1 release file

0.7.2.1

1 release file

0.7.2

1 release file

0.7.1

1 release file

0.7

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page