Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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?


  • Qt Champions 2019

    @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