Time Travel Debugging

Play Time Travel Debugging
Sign in to queue

Description

In this episode, Robert is joined by Mark Downie, who shows us Time Travel Debugging. provides the ability to record a Web app running on a Azure Virtual Machine (VM) and then accurately reconstruct and replay the execution path. You can record code executed in production and replay the execution path inside Visual Studio. TTD also gives you the ability to move forward and backwards in time as if you were performing "inner loop" debugging locally.

Resources:

Tags:

Coding, devtools

Embed

Download

The Discussion

  • User profile image
    S Richardson

    Brilliant feature but would really like to see it available for Azure logic apps and functions.

  • User profile image
    Niner377430
    I can see this being a useful tool, but until you support App Services rather than VMs it isn't worth trying out.
  • User profile image
    PoppaString
    Thanks for the feedback! We are looking at a variety of Azure Scenarios to expand into with TTD.
  • User profile image
    pilotbob
    Bunch of questions...

    1. Where does it get the source?
    2. Does there have to be a debug build on the server? Or release with pdbs?
    3. Is there any server side setup that has to be done to be able to attach?
    4. Is this limited to sites running on VMs on Azure? Or will it work with sites running on a VM on AWS?
  • User profile image
    PoppaString
    Hi pilotbob,

    1. With TTD you determine the version of the code you have installed on your Azure VM and manually open the matching code version locally in Visual Studio.

    2. No you are not required to release debug builds to you Azure VM for TTD to work. However, you will need to ensure that the pdbs produced during the build are available. The pdbs could be available at the server, locally in cache or from a symbol server.

    3. During the process of attaching you will be prompted to install the Remote Debugger Extension. Note that the first time you attach the Snapshot Debugger to your VM IIS is automatically restarted.

    4. Time Travel Debugging is currently only supported on Azure VMs.

Add Your 2 Cents