What actions do I need to take to get a crash dump in ALL error scenarios?

前端 未结 6 1155
孤独总比滥情好
孤独总比滥情好 2021-02-04 09:39

We\'re on Windows and we want to get a crash dump (possibly using MiniDumpWriteDump) for all scenarios where our application exit\'s unexpectedly.

6条回答
  •  遇见更好的自我
    2021-02-04 10:16

    You can catch any exception with WER. As you have seen the CRT sometimes forces to call WER.

    If you want to always catch excpetion in-process, you need to prevent the calling of SetUnhandledExceptionFilter(NULL) from the CRT. For more info see my blog entry: Improved “PreventSetUnhandledExceptionFilter”

提交回复
热议问题