3 ms·
VS Code has a concept called "log points" in the C/C++ debug mode that use a debugger to implement logging. So you can combine the best of debugging and loggin
by mark_undoio 4y ago
VS Code has a concept called "log points" in the C/C++ debug mode that use a debugger to implement logging.
So you can combine the best of debugging and logging.
At Undo we've done some investigation of how to get this out into the world for time travel debug, so it's interesting to see your idea lines up.
What sort of problem do you think this would be useful for?
- mjw1007 4y agoLearning about an unfamiliar and underdocumented codebase.
- mark_undoio 4y agoThat makes a lot of sense - having a deterministic recording makes a big difference to learning how the code actually works. I also sometimes think that, even when I want a debugger interface to look at the details, I'd also like to see a "big picture" view showing how key values evolve over time. (something like replay.io does for visualising logging statements is probably in about the right place for both of us, though I'm not a web dev)