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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.