MiniDumpWriteDump Overview

The MiniDumpWriteDump function writes user-mode minidump information to the specified file. MiniDumpWriteDump enables you to get a user-mode crash dump of a failing process. This allows you to debug the issue after it happens (in cases where a debugger is not connected), enabling automated testing scenarios.

Register the event with the Unhandled Exception filter. Then when the event is hit, call MiniDumpWriteDump.

This function uses associated structures, enumerations, and a callback function, which are named using the prefix “MINIDUMP_”. These API items are declared in the dbghelp.h file that is shipped with Xbox One. This set of API items is the same as for Windows, and works essentially the same as on Windows.

For an overview and example code, see Crash Dump Analysis. That topic at MSDN refers to old versions of software. In Visual Studio 2015, to open a crash dump file, use File: Open: File: Dump Files.

See also

MiniDumpWriteDump Reference