▲ | nchmy 5 days ago | |||||||||||||||||||||||||||||||
but can you go back in the stack and inspect the variables and related functions there in print debugging? | ||||||||||||||||||||||||||||||||
▲ | truetraveller 5 days ago | parent | next [-] | |||||||||||||||||||||||||||||||
This is something that does not require a debugger perse. this is something that can be implemented by a "smart" log. beside the log entry there might be a button to see the trace + state at those points. could even allow log() to have an option for this. | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
▲ | MangoToupe 5 days ago | parent | prev [-] | |||||||||||||||||||||||||||||||
...yes? You just print in the relevant stack frame. There is an inherent tradeoff between interaction and reproducibility. I think the whole conversation of debugger vs print debugging is dumb. Just do whatever makes you the most productive. Often times it is immediately obvious which makes more sense. | ||||||||||||||||||||||||||||||||
|