Using GDB commands / plot Array with GDB

  • Hello,

    i found this script to plot data with GDB, but i don't know how to use it.
    What i've done by now is adding

    source /home/user/gdb_plot/plot1d.gdb

    To the additional startup commands. But how can i use it now?

  • Moderators

    @gde23 Your question isn't related to Qt or QtCreator.
    Check the link you posted again:

    With this file placed somewhere and executed, you can then simply do plot1d data[0]@128 to get a nice plot of the first 128 values of data.

    this is an example how to use it.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.