What is minimum MINIDUMP_TYPE set to dump native C++ process that hosts .net component to be able to use !clrstack in windbg

帅比萌擦擦* 提交于 2019-11-28 10:27:26

In fact, it is enough to specify these options (to make dump small and be able to extract managed callstacks):

  1. MiniDumpNormal (default)
  2. MiniDumpWithProcessThreadData
  3. MiniDumpWithThreadInfo
  4. MiniDumpWithUnloadedModules

Thanks a lot to Oleg Starodumov form http://debuginfo.com/

As far as I know, you need a full dump. The reason is that to decode the stack contents you need memory that's privately allocated by the CLR (such as JITted methods).

It is theoretically possible to add these memory regions by hand to a smaller dump, but of the enum values you listed above, I'm afraid only the full dump will contain that information.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!