Freigeben über


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!

Comments

  • Anonymous
    July 04, 2010
    Hello Ron, This is cool..I need to check this out. btw, how is this different from the "Just my code" which is somewhere in the Options? Thanks, Ashish

  • Anonymous
    July 04, 2010
    @Asish - when you check this, it unchecks the Just my code option.

  • Anonymous
    July 05, 2010
    Didn't that existed at VS 2008 too? I have it infront of me at VS2008 right now. Anyway, it is a cool feature!

  • Anonymous
    July 05, 2010
    @Aggelos - like I said... I had no idea this existed - I guess it's been around longer than I thought...