пятница, 5 июня 2009 г.

New SOS commands in CLR 4.0 Beta1

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.

New commands:
Examining code and stacks
ThreadState

Diagnostic Utilities
VerifyObj
FindRoots
HeapStat
GCWhere
ListNearObj
FinalizeQueue
AnalyzeOOM

Examining the GC history
HistInit
HistStats
HistRoot
HistObj
HistObjFind
HistClear

New arguments for two commands:
!ObjSize [<Object address>] | [-aggregate] [-stat]
!FinalizeQueue [-detail] | [-allReady] [-short]

Supporting DML:
>> 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.


SOS_2_help.txt
SOS_4_help.txt

Комментариев нет:

Отправить комментарий