debug help command

0:000> ?

 

Open debugger.chm for complete debugger documentation

 

B[C|D|E][] - clear/disable/enable breakpoint(s)

BL - list breakpoints

BA - set processor breakpoint

BP

- set soft breakpoint

  unary ops: + - not by wo dwo qwo poi hi low

       binary ops: + - * / mod(%) and(&) xor(^) or(|)

       comparisons: == (=) < > !=

       operands: number in current radix, public symbol,

: b (byte), w (word), d[s] (doubleword [with symbols]),

         a (ascii), c (dword and Char), u (unicode), l (list)

         f (float), D (double), s|S (ascii/unicode string)

         q (quadword)

: [(nt | )!] ( can include ? and *)

:

        :

L

 

User-mode options:

~ - list threads status

~#s - set default thread

| - list processes status

|#s - set default process

 ...

Open debugger.chm for complete debugger documentation

 

---------------------

 

0:000> .help

. commands:

   .abandon - abandon the current process

   .allow_exec_cmds [0|1] - control execution commands

   .allow_image_mapping [0|1] - control on-demand image file mapping

   .apply_dbp [] - add current data breakpoint state to a

                            register context

   .asm [] - set disassembly options

   .asm- [] - clear disassembly options

   .attach - attach to at next execution

   .block { } - brackets a set of commands for nested execution

   .bpsync [0|1] - special breakpoint behavior for multithreaded debuggees

   .break - break out of the enclosing loop

   .breakin - break into KD

   .cache [] - virtual memory cache control

...

-------------------

sos debug help

0:000> !help

-------------------------------------------------------------------------------

SOS is a debugger extension DLL designed to aid in the debugging of managed

programs. Functions are listed by category, then roughly in order of

importance. Shortcut names for popular functions are listed in parenthesis.

Type "!help " for detailed info on that function.

 

Object Inspection                  Examining code and stacks

-----------------------------      -----------------------------

DumpObj (do)                       Threads

DumpArray (da)                     ThreadState

DumpStackObjects (dso)             IP2MD

DumpHeap                           U

DumpVC                             DumpStack

GCRoot                             EEStack

ObjSize                            CLRStack

FinalizeQueue                      GCInfo

PrintException (pe)                EHInfo

TraverseHeap                       BPMD

                                   COMState

 

Examining CLR data structures      Diagnostic Utilities

-----------------------------      -----------------------------

DumpDomain                         VerifyHeap

EEHeap                             VerifyObj

Name2EE                            FindRoots

SyncBlk                            HeapStat

DumpMT                             GCWhere

DumpClass                          ListNearObj (lno)

DumpMD                             GCHandles

Token2EE                           GCHandleLeaks

EEVersion                          FinalizeQueue (fq)

DumpModule                         FindAppDomain

ThreadPool                         SaveModule

DumpAssembly                       ProcInfo

DumpSigElem                        StopOnException (soe)

DumpRuntimeTypes                   DumpLog

DumpSig                            VMMap

RCWCleanupList                     VMStat

DumpIL                             MinidumpMode

DumpRCW                            AnalyzeOOM (ao)

DumpCCW

 

Examining the GC history           Other

-----------------------------      -----------------------------

HistInit                           FAQ

HistRoot

HistObj

HistObjFind

HistClear

 

一个例子, VS  诊断工具 拍快照

分析 .NET Framework 内存问题

From

debug help command_第1张图片

你可能感兴趣的:(debug help command)