“How Did This Variable Get That Value?”
Jan 20, 2023
It’s quite common when diagnosing an issue in an application to come across an unexpected value in a variable or data structure, and to wonder: “How did that value get there?”
With time travel debugging, it is now possible to find this out in a quick and efficient way: Undo’s LiveRecorder recently introduced the lastcommand to help C++ developers answer precisely that question.
- The
lastcommand jumps to the last time in execution history when the value of a variable or expression was modified. - You can keep repeating
lastto keep jumping back to previous times that the value changed.
Learn more about how to save time debugging complex C++ applications with LiveRecorder.
