views:

24

answers:

2

I read a description of how intellitrace in VS2010 Ultimate is like going back in time, in the execution of your application.

However, this sounds just like moving the line marker to a previous line (that yellow arrow in the breakpoints margin to the left of the code, when you are stepping through code).

Thanks

A: 

From Wikipedia:

Unlike the current debugger, that records only the currently-active stack, IntelliTrace records all events like prior function calls, method parameters, events, exceptions etc. This allows the code execution to be rewound in case a breakpoint wasn't set where the error occurred.

When you move the execution point back you run the same code again, but the variables might have different values. This is because running the code the first time may have changed some variables.

With Intellitrace you should be able to run the same code again with the same values as the first time. I have not tested it though.

Mark Byers
A: 

The difference is that intellitrace keeps the history of each of those moments that it recorded. So unlike moving the line marker it is showing you the value of all the variables at that point in time. Similar to how a memory dump but for debugging.

It relies heavily on Tracing hence the name. Here is a good explanation of how it works. It's actually pretty cool.

krolth