Creating dump file at the moment of access violation

后端 未结 3 1834
忘掉有多难
忘掉有多难 2021-01-01 08:05

I would like to create process dump file at the moment when access violation that will not be handled occurred.

Currently, I have registered mine, unhandled exceptio

3条回答
  •  温柔的废话
    2021-01-01 08:24

    To keep the exception context intact you can create the minidump from an outer process, which debugs the process of interest with DebugActiveProcess API and receives exception events as a part of debugging. Minidump creation preceding release of the debugee with ContinueDebugEvent preserves call stack and exception context.

提交回复
热议问题