You can use SOS from within your VS.NET IDE. First you need to unable “unmanaged code” debugging option in Visual Studio. Go to Project Properties -> Configuration Properties -> Debugging -> “Enable Unmanaged Debugging”. Set this option to “True”. Then you set a breakpoint in your code. When this breakpoint is hit, open the “immediate window” and load SOS debugger extension through the “.load sos” command. You can also use “!help” command to get the list of all commands.