Generate Dump Files (Compact 7)
3/12/2014
In the typical post-mortem debugging scenario, if you’ve enabled Error Reporting, dump files are automatically generated when a device crashes. In addition to this scenario, there are three other ways in which you can generate dump files: from a handled exception, from a process, or while debugging. This section describes all four ways to generate a dump file.
Dump files have the extension .kdmp. You can open them by using the methods described in Analyze Dump Files.
Note
If you have Error Reporting included in your OS and enabled in the registry, and the device is not producing dump files as you expect, try increasing the amount of memory that you allocated for the dump files either in the code (for more information, see Reserve Memory for Error Reporting Dumps) or in the Error Reporting Control Panel if you included that component in your OS.
In This Section
- Generate a Dump File Automatically
Describes how a second-chance exception causes a device to automatically create a dump file.
- Generate a Dump File from a Handled Exception
Provides an example of how to create a special-purpose exception handler.
- Generate a Dump File from a Process
Describes how to capture a dump file when a particular process starts.
- Capture a Dump File While Debugging
Describes how to capture a dump file while you are debugging in Platform Builder.