4 ms·
TDD allows you to recreate a full memory snapshot at an arbitrary point during the recorded execution. A regular debugger cannot tell you what was in a registe
by SteveJS 9y ago
TDD allows you to recreate a full memory snapshot at an arbitrary point during the recorded execution. A regular debugger cannot tell you what was in a register or memory location previous to what is currently there now. TTD does allow that.
- bcherny 9y agoSo: - Without TTD, I can inspect values in the call stack where I set a breakpoint - With TTD, I can inspect values in my whole program, and can jump back/forward in time to see how those values changed Is that right?
- timmisiak 9y agoYup, you got it. Not just jumping back and forward, but seeking to points in time when memory changed. For instance... have some memory that got corrupted? With normal debugging you're probably out of luck unless you get some hints as to where it got corrupted. With TTD, you just set a memory access breakpoint and "run in reverse" until the memory is modified. It pinpoints the exact point in time where the memory got corrupted.