I seems that SOS will have several new commands in CLR 4.0.
How did I find that out? I just retrieved SOS help file (it’s just a binary resource in SOS.dll) from .NET 2.0 SOS and .NET 4.0 SOS and fed the files to WinDiff. And that is what we have.
Examining code and stacks
Examining the GC history
New arguments for two commands:
!ObjSize [<Object address>] | [-aggregate] [-stat]
!FinalizeQueue [-detail] | [-allReady] [-short]
>> Does SOS support DML?
Yes. SOS respects the .prefer_dml option in the debugger. If this setting is
turned on, then SOS will output DML by default. Alternatively, you may leave
it off and add /D to the beginning of a command to get DML based output for it.
Not all SOS commands support DML output.