Use WinDbg to Write Contents of Managed Byte[] to File

后端 未结 2 1992
孤城傲影
孤城傲影 2020-12-30 04:03

I have a crash dump from a production server that shows an OutOfMemoryException. The exception itself is not relevant here.

I happened to run a !dso to view the sta

2条回答
  •  时光取名叫无心
    2020-12-30 04:26

    This is what worked for me:

    .foreach($str {!DumpHeap /d -mt 00007ff890e96948 -min 0n126500 -short}){r@$t0=  dwo(${$str}+8)*2;.writemem e:\temp\str\${$str}.txt ${$str}+c L? @$t0} 
    

提交回复
热议问题