GDB - Graphical plot of vector/buffer


#1

Hi all.

Thought this might be of some interest to people that use gdb command line.

http://www.codeproject.com/Articles/669606/Analyzing-C-Cplusplus-matrix-in-the-gdb-debugger-w

The link shows an implementation using the gdb Python API and matlab to plot a matrix/container from a variable in gdb - gdb will be blocked whilst the display is open though and won’t accept any commands until the display is closed. It’s given me a bit of further inspiration for an eventual JUCE plugin debug host I’m thinking about:

But in the meantime it might be a handy tool for some folk. I haven’t tried this yet but plan to later this weekend and will probably alter the script somewhat and create a command for use in my gdb init file. If I have anything nice and workable I’ll happily share later on.

Josh