Wednesday, 25 April 2007

Debug in CE6.0 and PB6.0

Platform builder 6.0 supports two options for the way debug messages are handled.

Sync Mode

Here the target device waits until the host displays the debug message. The advantage being that you see messages when they were sent but it does slow down the target device.

Async Mode

Here the target device runs as fast as possible. The debug message is queued on the host to allow the device to continue. Debug is only displayed on the host as time permits.

These debug modes are available via the host's registry.

HKCU\Software\Microsoft\Platform Builder\6.00\Debug
DWORD value "SynchronousDebugMessage"
0 == ASYNC
1 == SYNC

No comments: