2 ms·
That's basically how breakpoints work in python, right ?
by johnchristopher 4y ago
That's basically how breakpoints work in python, right ?
- TheOtherHobbes 4y agoThere's a stack frame and you can watch on variables to trigger the debugger when they change. But there's no operation tracing. I'm not aware of any language/system that automatically logs all operations with their context/value and boils that down to a useful display. Debuggers seem to all use the ancient machine code model where they replace an instruction with "And now launch the debugger to see what state the variables, memory, and registers are." It would be useful to have more print-like features that create a searchable list of all entries/exits/creators/destructors in sequence with associated parameters and values.
- kaba0 4y agoThere are even time traveling debuggers that can reverse code flow, so I’m sure something similar exists.