Debugging the CLR

Visual Studio 2008 offers this great feature to include the CLR in the current debug process. This is really great if you think you might want to dare to challenge the CLR for messing with your code!!

OK, so I dared the CLR … and I thought I’m a smart guy and place some breakpoints in the downloaded source-code of the CLR … but to my surprise they are never reached 🙁 The same applies, if you try to run the code up to the current cursor-position … this is also doomed to fail!

So if you’re worthy of debugging the CLR, you will have to go the whole nine yards and step thru every single line of code (or in my case go thru each iteration of a loop).

Leave a Comment.