Limit !dumpheap (windbg) output to n objects -


When using the Domphex command to see the objects of objects, how can you limit a certain number of objects?

The only way I found CTRL + BREAK and a command line on a blog

-l X - Instead of all objects, only X items print from each stack.

Apparently -L is no longer present in SOS.dll

What are you really looking at? Seeing personal items, narrowing the area of ​​interest is normal.

-State switch shows the type, type of object on the heap.

diphap [-state] [-min] [-max] [-thinlock] [-mt] [-proip] [start [end]]

< Ul>
  • -State option restricts output for statistical type summaries
  • Dividension option ignores objects that are less than size parameters, specified in bytes.
  • -Max option ignores larger objects than specified size parameters in bytes.
  • ThinLock option ThinLocks reports For more information, see the SyncBlk command.
  • - The MTT option lists only those objects that correspond to specifying a static structure.
  • Type types only list those objects whose type of name is a substring match of the specified string.
  • The starting parameter starts to be listed with the specified address. End parameter closes the listing at the specified address.


    Comments