This is a summary from the article http://beta.blogs.msdn.com/
From this article, I learned how to use SOS in Visual Studio. SOS can be a great help for debugging managed application.
1, Enable native debugging for the project
2, Use “break all” menu ( under Debug\Break all ) to break
3, Load SOS.dll by using “.load” command in immediate window
4, Use “!help” command in immediate window, you can find how many useful command are available in SOS
5, Some general commands in SOS, You can use “ !help XXX” to find out what the XXX command is used for.
!clrstack
!dumpheap – stat
!eeheap -gc
!dumpstack
!threads
!dumpobj
!gcroot
!syncblk
!objsize
!pe
!finalizequeue
Very easy and very powerful!