title: Limit !dumpheap (windbg) output to n objects
body: <p>When using windbg and running !dumpheap command to see the addresses of objects, how can you limit to a specific number of objects. The only way I found was using CTRL+BREAK
  and a command line on a blog <a href="http://dotnetdebug.net/2005/07/04/dumpheap-parameters-and-some-general-information-on-sos-help-system/" rel="noreferrer">http://dotnetdebug.net/2005/07/04/dumpheap-parameters-and-some-general-information-on-sos-help-system/</a></p>
  
  <p>-l X - Prints out only X items from each heap instead of all the objects.</p>
  
  <p>Apparently -l no longer exists in SOS.dll</p>