Stepping Through .NET Source with VS2010 and .NET 4

This morning I stumbled across something so cool… I had no idea it existed (I know some of you are saying… “What he didn’t know about this?)

How many times have you wanted to debug right into the source of .NET?  The feature is there, just turn it on…

image

SNAGHTML1e51b8

After VS2010 completes automatically downloading symbols set a breakpoint and try something…

image

Here you see a breakpoint in my code (Service1)

WebFaultException<T> is a type in System.ServiceModel.Web – can’t step into it right?  Wrong…

image

Woot!