Thursday, June 2, 2011

How to get the SOS.DLL for silverlight 4.0.60310.0 for windbg

If you want to do the Silverlight debugging using windbg, the first thing is you have to get the sos extension for Silverlight.
When I try to run the command ‘.loadby sos coreclr’
image
get the error , it can’t find the sos.dll, in the silverlight folder,
image

I try to google “how to get the sos.dll for silverglight4.’, nothing is helpful, then I spend a little time to figure out how to get the sos.dll. So here is the answer,

1. Install visual studio 2010, if you are a developer, you probably have already installed the IDE
2. this is important, Download and install the Microsoft Silverlight 4.0 SDK

that’s IT.
image

#1 is very important, if you skip it and install the SDK only, it wont install the sos.dll for you.

No comments:

 
Locations of visitors to this page