Using the new Step Backward and Forward buttons If no camera icon appears next to the step, try varying your stepping speed. Note: For performance reasons, snapshots are not taken when you step very quickly. A camera icon will appear next to the events for which a snapshot is available. When the step-back feature is enabled, it will also take a snapshot of your application on each debugger step and breakpoint that is hit.
IntelliTrace step-back is designed to integrate into your everyday debugging experience.Īs you’re debugging, IntelliTrace records your steps and breakpoint events in the Events tab in the Diagnostic Tools window. Debugging with step-backįirst, to enable the feature, go to Tools, Options, IntelliTrace settings, and select the option “IntelliTrace events and snapshots.” This enables you to go back to previous breakpoints or steps and view the state of the application as it was in the past. IntelliTrace now automatically takes a snapshot of your application on each breakpoint and debugger step you take.
In Visual Studio Enterprise 2017 version 15.5 Preview, we are introducing IntelliTrace’s new “step-back” feature. Have you ever stepped while debugging, realized that you’ve taken one step too far, and wished you could step back? Or, while stepping, saw a variable change in an unexpected way, and wish you could go back a step and see what its value was before? Now you can, all without having to restart debugging to recreate the state again!