Open LamprosPitsillos opened 1 year ago
History of what?
Of the commands executed in the debug window
p x
set var x=4
b myfunc()
__restart_gf__
__press_up__
b myfunc()
...
gdb does this using .gdb_history
that you enable with set history save on
if i an not mistaken
No, this is no currently possible. However, it would not be too difficult to add, if you'd like to make a pull request. Basically, you need to the same thing that restoreWatchWindow
does, but with the command history array, Array<char *> commandHistory;
.
I will give it a try after my exams !
Is there a way to set history to be persistent ? Something like
.gdb_history
orset history save on