The location of the SOS.dll on my machine with .NET framework 4.0 installed is:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\SOS.dll
Here are a couple of exciting things you can do using the with latest SOS Debugger extension
- detect object corruption
- detect memory leaks
- detect cross-generation references
- find apartment model for each thread
- find out which generation your object currently belongs to
- breakdown of each generation with a view of managed heap size and free space
- set managed code breakpoints
- find the application domain of your object
Note: If you have been using SOS in previous versions of .NET, remember that SOS in .NET 4.0 supports DML (Debugger Markup Language) now! Also note that with CLR 4.0, mscrowks.dll has been replaced with the clr.dll module.
Installing Debugging Tools for Windows
Before we use the SOS extension, make sure you have downloaded the latest version of Debugging Tools for Windows which is a free download package (available in 32-bit and 62-bit) and consist of a set of powerful debuggers and tools to troubleshoot your application. I have chosen the link which says Debugging Tools for Windows 32-bit Version. After downloading winsdk_web.exe, run it and choose ‘Debugging Tools for Windows’ under ‘Common Utilities’ in the wizard, as shown below.

Read more: dot net curry