Intermezzo on Historical Debugging with IntelliTrace

While we’re in the wonderful world of debugging managed code applications, we should take a look at a feature that was added in Visual Studio 2010: IntelliTrace. In the example shown in the previous section, we were dealing with an exception that was swallowed inappropriately long before the program started to fail. Wouldn’t it be handy to walk the program’s execution back in time to investigate the program state outside the scope of the current call stack? That’s exactly what IntelliTrace enables.

To play with this exciting new feature, we need to configure it first through the Tools, Options dialog, under the IntelliTrace node in the tree view. Two modes are available; the latter one, called ...

Get C# 5.0 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.