Share via


eXDI Architecture (Windows CE 5.0)

Send Feedback

The Extended Debugging Interface is an adaptation layer between a software development environment, such as Platform Builder or Visual Studio, and a debugging target.

An eXDI driver runs as a Core Connectivity service under ICcSvcHost, exposing the ICcService interface which provides connectivity support. One eXDI service instance runs for each probe.

As the following diagram shows, Platform Builder debugging makes extensive use of Core Connectivity services. In the example depicted by the diagram, Platform Builder uses an eXDI service and an OS Access service. The eXDI service supports kernel debugging with KdStub, a software probe component that the kernel loads onto the target. KdStub and the eXDI service communicate using the KdStub-specific protocol KDBG over the Kernel Independent Transport Layer (KITL).

On the desktop host computer, KITL runs as another Core Connectivity service, supported by the ICcKitl interface.

For more information about Core Connectivity services, see Core Connectivity Overview.

The following diagram provides a high-level overview of the eXDI architecture as applied to kernel debugging with the software probe KdStub.

ms905131.exdi_arch(en-us,MSDN.10).gif

eXDI can also be used to support a wide variety of probes, including software probes such as the Platform Builder kernel debugger, KdStub; hardware ports such as JTAG; in-circuit emulators; post-mortem debugging; and software simulators.

Third-party probe vendors who want to allow Platform Builder customers to use their diagnostic equipment with Platform Build must write an eXDI service for that purpose.

eXDI includes a set of powerful debugging helper components that perform a variety of debugging tasks, including handling for software breakpoints and single-stepping. You can add the functionality of these helpers as needed, greatly simplifying the overall driver development process.

The following diagram shows an example implementation of a hardware probe.

ms905131.exdi_arch2(en-us,MSDN.10).gif

See Also

eXDI Run-State Control | Memory and Register Access | OS Access | eXDI Driver Development

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.