Open KristofferC opened 5 years ago
More generally, could we add a callback function to breakpoints? I'm not sure what one could want to do with it, but it sounds like a cool idea imho :)
Gdb has a commands feature. A set of commands that can be executed when a breakpoint is triggered. Fantastic to collect information about the 100 times a breakpoint got triggered (and you can automatically continue)
A temporary breakpoint is a breakpoint that removes itself after being triggered (https://mohit.io/blog/temporary-breakpoint-now-you-see-it-now-you-dont/).
We can think about if we also want that feature.