Microsoft Lets Developers Time Travel

Image: Microsoft

Microsoft has added Time Travel Debugging (TTD) to the latest version of WinDbg Preview. TTD allows developers to step back and forth through code execution so they can more easily analyse the conditions leading to a failure.

When code is being executed, TTD allows the process to be recorded. You can then replay the program's operation and run queries to find problems in your code. What makes TTD different to traditional debuggers is that you can run your code back and forth - in effect time travelling through the execution process.

To access TTD you'll need the WinDbg Preview (build 10.0.16365.1002 or greater). This is available from the Windows Store if you have Windows 10 Anniversary Update or newer.

Microsoft has published a guide on TTD, including instructions on how to use it.

It's been a while since I wrote any code but I remember the challenges of debugging code and how hard it could be to work backwards through the execution process to find the root cause of a bug. TTD promises to make it easier to find issues in your code.

WATCH MORE: Tech News

Comments

Be the first to comment on this story!

Trending Stories Right Now