4 ms·
Old-school interactive debugging tools like gdb and Visual Studio are pretty bad. But new-school debuggers with record-and-replay and features built on top of t
by roca 4y ago
Old-school interactive debugging tools like gdb and Visual Studio are pretty bad. But new-school debuggers with record-and-replay and features built on top of that --- e.g. rr-project.org, undo.io, replay.io and (plug) pernos.co --- remove a lot of the downsides of "stop and step" debuggers and add a lot of extremely useful features on top.
E.g. in Pernosco you can capture most of the benefits of logging by querying for the executions of a particular line, filtering on a conditional expression, and rendering the values of chosen expressions at that line: https://pernos.co/about/expressions/ https://pernos.co/about/expressions/
... except that you get those results without having to recompile or even rerun your program. And when you find the event you're looking for, you have instant access to the complete program state with the full power of the debugger. replay.io has something similar.