Partager via


Configure Registry Settings for Error Reporting (Compact 7)

3/12/2014

When you add Windows Embedded Compact Error Reporting to your OS design, Error Reporting is enabled by default. The registry entry that controls whether Error Reporting is enabled is DumpEnabled. You can change this setting and other Error Reporting aspects such as the dump file type, whether to upload dump files or save them on the device, and so on, by configuring registry settings on the device.

You follow the same general procedure to change the registry settings for the Error Report Generator, the Error Report Transfer Driver, the Report Upload Client, and the Error Report Control Panel. For information about specific registry settings and their default values, see:

To set an Error Reporting registry value on a device

  1. In Platform Builder, open your OS design project.

  2. In Solution Explorer, expand the OS design project node, and then expand the Parameter Files node.

  3. Under Parameter Files, double-click OSDesign.reg.

  4. In the OSDesign.reg pane, expand HKEY_LOCAL_MACHINE, right-click System, click New, and then click Key.

  5. Type ErrorReporting, and then press Enter.

  6. Right-click ErrorReporting, click New, and then click Key.

  7. Type the name of the key (DumpSettings or UploadSettings), and then press Enter.

  8. Right-click UploadSettings or DumpSettings (whichever you created in the previous step), click New, and then click DWORD Value if the type is DWORD, or String Value if the type is REG_SZ. (To find the type, see the registry setting table in the appropriate registry setting topic listed above.)

  9. Type the name of the key, such as DontUpload, and then press Enter.

  10. If the type is DWORD, in the Properties pane for the registry value, for Data, type the value in decimal format. If the type is DWORD, in the Properties pane for the registry value, for Name, type the string.

  11. Save and then build the OS design project.

See Also

Concepts

Set Up Your Device for Post-Mortem Debugging