gdbgui
gdbgui copied to clipboard
Remember breakpoint configuration
Is your feature request related to a problem? Please describe. Something that I would like to see implemented is the possibility to remember the breakpoints I set during the last session in an implicit way. For implicit I mean not something like save and load. But something it remember the previous configuration
Describe the solution you'd like Would be nice to have a system that even if I close the session or the server is able to remember and restore the breakpoints of the last session regarding a certain binary. So the idea is to save the breakpoint profile based on full path binary location. A potential conflict could rise from the multi-user aspect of gdb-gui. In the sense that if two users debug the same binary in the same folder there could conflicts in the breakpoint profile. I would consider this case realistically remote and unlikely.
I would take charge of this PR in case. (Not sure when)
Describe alternatives you've considered No alternatives
Additional context No screenshot
Workaround (possibly also part of a potential implementation): use save breakpoints /file/to/save_bps
in the GDB console and after loading source /file/to/save_bps
, those are then also added to the breakpoints in the side window.
Thanks for the comment. At the end I implemented it using the browser cookies.
Interesting, can you do a PR with those changes?