Monday, March 28, 2011

SOS Command Shortcuts

The SOS debugger extension contains a set of powerful commands when performing managed code debugging. Some of the commands have shortcuts to avoid lengthy command syntax (for example, !do for !DumpObject). The !help command does an OK job with telling you what the different shortcut commands are but there are a few that are still missing from the help. Since I use shortcuts extensively I decided to write them down (based on 4.0 SOS):

Command Shortcut Command
AnalyzeOOM ao
DumpArray da
DumpObj do
DumpStackObjects dso
FinalizeQueue fq
ListNearObj lno
PrintException pe
StopOnException soe
Threads t
ThreadPool tp
VerifyHeap vh
VerifyObj vo

No comments:

Post a Comment