Share via


Enabling Kernel Debugger Support (Windows Embedded CE 6.0)

1/5/2010

To enable the kernel debugger service, you must first build a run-time image that supports kernel debugging.

Kernel debugging also requires a KITL transport, or a transport for hardware-assisted debugging. If you use kernel debugging for software debugging, be sure to also choose the Enable KITL build option.

When you enable kernel debugging, Platform Builder includes the debugger stub, kdstub.dll, in the run-time image.

To enable kernel debugger support

  1. From the Project menu, choose Properties.

  2. In the Property Pages window, choose Configuration Properties, and then choose General.

  3. In the Configuration box, choose a debug configuration.

  4. In the Property Pages window, choose Configuration Properties, and then choose Build Options.

  5. In the Build Options window, select the Enable Kernel Debugger check box and then choose OK.

  6. From the Target menu, choose Connectivity Options.

  7. In the Target Connectivity Options dialog box, choose Kernel Service Map.

  8. In the Debugger box, choose the debugger you want to use.

    To enable the Windows Embedded CE Kernel Debugger, choose KdStub.

    Be sure that a specific debugger option is selected; if the NONE option is selected here, debugging will not be enabled.

  9. From the Build menu, choose Advanced Build Commands, and then choose Build and Sysgen.

    The debugger starts by default after you download a debugger-enabled run-time image or a debug run-time image.

    The Status Monitor displays the status of each remote service. For more information about the Status Monitor, see Status Monitor.

See Also

Tasks

Configuring a Connection for Downloading and Debugging

Concepts

Kernel Debugger Services

Other Resources

Tools for Debugging
How to Use the IDE to Create, Customize, and Build a Run-Time Image