Share via


Generate a Dump File Automatically (Compact 7)

3/12/2014

If you include Windows Embedded Compact Error Reporting in your OS design, the OS creates a dump file automatically when there is a second-chance exception. For example, if an application fails in a release build of an OS, there is typically no debugger to handle the exception. If the application does not handle the exception either, Error Reporting generates a dump file that contains information about the state of the device, such as the exception type, the values of global and local variables, the functions on the call stack, and so on. The dump file is either uploaded to Microsoft Watson or saved on the device. For a description of first- and second-chance exceptions, see Just-In-Time Kernel Debugging.

To generate a dump file automatically

  • Include Windows Embedded Compact Error Reporting in your OS design, and the device will automatically create a dump file when there is a second-chance exception. For information, see Include Error Reporting in the OS.

See Also

Tasks

Generate a Dump File from a Handled Exception
Generate a Dump File from a Process
Capture a Dump File While Debugging

Concepts

Generate Dump Files