次の方法で共有


Setting CeLog Zones in the Target Device Registry (Windows Embedded CE 6.0)

1/5/2010

You can set the initial CeLog collection zones by modifying the registry of the target device. This overrides the default value of the zone mask and the zones in the registry of the development workstation.

To set collection zones in the registry on the target device

  1. Connect to the device with Remote Registry Editor.

  2. Navigate to the HKEY_LOCAL_MACHINE\System\CeLog key. You may need to create this key if it does not already exist.

  3. Locate the ZoneCE value. You may need to create this value if it does not already exist.

  4. Set the DWORD value to a bitmask of the zones you want to use.

    For example, to enable only CELZONE_THREAD, set the ZoneCE value to 0x00000020. To enable both CELZONE_THREAD and CELZONE_PROCESS, set the ZoneCE value to 0x00000060.

    Note

    Because Remote Registry Editor does not allow you to enter values in hexadecimal format, provide this value in decimal format. For example, the hexadecimal value 0x00000060 is equal to the decimal value 96. So to set ZoneCE to 0x00000060, set the DWORD value to 96 in Remote Registry Editor.

See Also

Concepts

Registry Editor

Other Resources

Filtering CeLog Events
CeLog Zones