“How Did This Variable Get That Value?”

Undo Bytes
Time Travel Debugging
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 last command jumps to the last time in execution history when the value of a variable or expression was modified.
  • You can keep repeating last to keep jumping back to previous times that the value changed.

Learn more about how to save time debugging complex C++ applications with LiveRecorder.

--

--

Undo Bytes
Time Travel Debugging

Undo is the time travel debugging company for Linux. We equip developers with the technology to understand complex code and fix bugs faster. https://undo.io