Skip to main content

gdbplotter

Lightweight Python tool that connects to a running gdb server and visualises data from given memory addresses.

UI Overview

Features

  • Communicate with a GDB server and read out specific memory regions
  • Specify decoding rules for each region
  • Simple plotting UI for quick inspection of numeric traces

Installation

Install from pypi

pip install gdbplotter

Install from source into a virtual environment:

uv sync

Usage

  • Run interactively (should be installed into Scripts or bin of the virtualenv by default):
gdbplotter
  • Run as python module (if previous method doesnt work)
python -m gdbplotter
  • Or import in your own scripts:
from gdbplotter import gdbparser

# parse gdb output and plot

Specifying your memory regions

Memory regions

gdbplotter parses its signals based on the base addresses and format strings that you define in the Memory Regions tab. You can't run the tool without specifying at least one memory region first.

You can find the base address of your variables by simply starting a gdb instance and with your debug symbols loaded:

gdb
>file main.elf
>target remote localhost:50000
>print &variable

The format string structure for decoding the fields of your data region can be looked up in the Python documentation

Configuration

Upon first run of the GUI, the tool will create a file called gdbplotter_config.json in the working directory — edit this to change default behavior (input paths, plotting options, etc.).

Tests

There is a small test helper in test/gdbservermock.py for development. Run tests or examples manually as needed.

Note

Be aware that this only really makes sense on target architectures that allow reading the memory while the target is running (e.g. "Cortex Live Watch"). Tested with various STM32 processors and regular STLinks.

Metadata

Release files for gdbplotter 0.1.2

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

Source distribution (sdist)

Source distribution for gdbplotter 0.1.2
File Size Uploaded Provenance Actions
gdbplotter-0.1.2.tar.gz 12.5 kB With provenance Details for gdbplotter-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gdbplotter 0.1.2
File Interpreter ABI Platform Actions
gdbplotter-0.1.2-py3-none-any.whl Python 3 none any Details for gdbplotter-0.1.2-py3-none-any.whl

Total release size: 26.6 kB

Release files / gdbplotter-0.1.2.tar.gz

Download URL gdbplotter-0.1.2.tar.gz
Size 12.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a6bfa7daf29217d377e5493ef781c7f670792242b2c5654cd1bfe2439a043bf1
BLAKE2b-256 checksum
How to use checksums
da5a55af1ab249f69f98e8a6cb28293d0e3b36f0a8fe5bfbec87da9e00c3fa6f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 14, 2025.

Transparency log

Release files / gdbplotter-0.1.2-py3-none-any.whl

Download URL gdbplotter-0.1.2-py3-none-any.whl
Size 14.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
55d77f49e6d52d2c0c48619827902b50083380bb019c07365b0aff74b8259c9d
BLAKE2b-256 checksum
How to use checksums
3c891b4148f58130fdbd451d3a6e6b8e7a3048a585222cfc9723cd6b4a15ab8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 14, 2025.

Transparency log

Security for gdbplotter 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for gdbplotter-0.1.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 14, 2025.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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