Jaa


Why are some commands missing in sos for 2.0 compared to sos for 1.1?

This question that I got from a reader is something that I get asked pretty frequently...

"I met a small problem during my dump analysis, our application is using .net 2.0. when I load 2.0 version of sos.dll, some of useful extension commands are lost, but sos.dll which is under clr10 debugging tool has.

Do you know any way to use those extension command in 1.1 under 2.0 sos.dll?"

After you have gotten used to the wealth of commands and functions in sos for .net framework 1.1 it can get a bit tedious to have to do these things manually when debugging 2.0 applications.  The differences are not extreme but commands such as !aspxpages etc. are missing in 2.0, and the reason is basically that the debugging architecture in 2.0 is very different from 1.1 so the commands are ported continously and sent out with hotfixes and service packs, but some just havent made it yet.

You can not use the 1.1 version on 2.0 applications by loading it in an alternate way unfortunately, for most commands like !aspxpages you can script the command like I did here, but that too is a bit tedious.  If there are some commands that you are missing or some that never existed that you would have liked to have, you can comment on this post by Tom so that he can incorporate it in future versions.

Laters,

Tess

Comments

  • Anonymous
    June 02, 2009
    Thank you!  I've finally found an answer to this question!  Thanks! I'll post something on Tom's blog and hopefully things will get added.   What is most frustrating is that they're still adding new commands to the .NET 1.x version but haven't done anything with SOS for .NET 2.0+ <sigh />

  • Anonymous
    June 02, 2009
    Hi Tess, Do you hae any info on who I can contact to request that the SOS .NET 2.0+ version be updated? TIA Dave