Step-back while debugging with IntelliTrace in Visual Studio 2017

Step-back while debugging with IntelliTrace in Visual Studio 2017

The recent updates of Visual Studio 2017 (version 15.5 Preview) comprise with several sets of new features and improvements. Once of such great enhancement is “step-back” while debugging. Now, you can perform a step-backward and forward while debugging your code with IntelliTrace Debugging. Visual Studio takes snapshots of each breakpoint while debugging and allows us to take a step back with the previous state of data.

Step Backward & Forward While Debugging
Step Backward & Forward While Debugging

You can check out the Snapshot events captured during debugging inside Diagnostic tools and navigate to the specific breakpoint by selecting the event as well.

Debugging Events
Debugging Events

.

When You are stepping back or forward, the snapshot holds the debugging state data for each state. You can inspect the different state’s data using Watch or Autos Window.

Debugging State Values
Debugging State Values

To enable this feature, from the main menu go to Tools > Options > IntelliTrace > General  and select “IntelliTrace events and snapshots

Enable Step Back Debugging
Enable Step Back Debugging

Check out Visual Studio 2017 version 15.5 – Preview Release Notes for more details.

Hope this helps !

 

Abhijit Jana

Abhijit runs the Daily .NET Tips. He started this site with a vision to have a single knowledge base of .NET tips and tricks and share post that can quickly help any developers . He is a Former Microsoft ASP.NET MVP, CodeProject MVP, Mentor, Speaker, Author, Technology Evangelist and presently working as a .NET Consultant. He blogs at http://abhijitjana.net , you can follow him @AbhijitJana . He is the author of book Kinect for Windows SDK Programming Guide.

One Comment to “Step-back while debugging with IntelliTrace in Visual Studio 2017”

Comments are closed.