Strategies for Debugging a Run-Time Image (Windows Embedded CE 6.0)

1/5/2010

If you include support for the debugger in the OS design, you can use the kernel debugger and remote tools to debug a Windows Embedded CE operating system (OS) that is running on a Microsoft Windows CE PC-based hardware platform (CEPC).

Viewing debug information from the CEPC in the IDE

When the debugger is available, a Debug menu and a Debug window appear in the integrated development environment (IDE). When the debugger is running, the text [run] appears in the caption for the IDE.

You can manually stop and start the debugger during the debugging process. For more information, see Stopping Kernel Debugging and Starting Kernel Debugging.

To Configure and connect a remote tool to the device

  1. Configure a connection to the CEPC.**

  2. Connect a remote tool to the CEPC.

  3. When the remote tool succeeds in connecting to a CEPC, the Download Runtime Image to CE Device dialog box disappears, and information from the CEPC appears in the window for the remote tool.

    The type of information that is displayed differs for each remote tool. For information about each remote tool that Microsoft provides, see Remote Tools.

  4. Verify that the kernel debugger connects to the target device. When the kernel debugger connects, debug messages appear in the Output window of Platform Builder on the Debug tab.

See Also

Concepts

Debugging and Testing a Run-Time Image

Other Resources

Debugging Resources Overview