JuliaDebug / JuliaInterpreter.jl

Interpreter for Julia code
Other
162 stars 34 forks source link

Temporary breakpoints #176

Open KristofferC opened 5 years ago

KristofferC commented 5 years ago

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.

pfitzseb commented 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 :)

vchuravy commented 5 years ago

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)