Microsoft Lets Developers Time Travel

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.

The Cheapest NBN 50 Plans

Here are the cheapest plans available for Australia’s most popular NBN speed tier.

At Lifehacker, we independently select and write about stuff we love and think you'll like too. We have affiliate and advertising partnerships, which means we may collect a share of sales or other compensation from the links on this page. BTW – prices are accurate and items in stock at the time of posting.


Leave a Reply