Книга: Microsoft Windows Embedded CE 6.0 Exam Preparation Kit
Selecting a Debugger
Selecting a Debugger
Having enabled KdStub and KITL for a run-time image, you can select a debugger to analyze the system on the target device in the communication parameters for your target device. To configure these parameters, display the Target Device Connectivity Options dialog box in Visual Studio by opening the Target menu and selecting Connectivity Options, as explained in Chapter 2, "Building and Deploying a RunTime Image."
By default, no debugger is selected in the connectivity options. You have the following debugger choices:
? KdStub This is the software debugger for the kernel and applications to debug system components, drivers, and applications running on a target device. KdStub requires KITL to communicate with Platform Builder.
? CE Dump File Reader Platform Builder provides you with an option to capture dump files, which you can then open by using the CE dump-file reader. Dump files enable you to study the state of a system at a particular point in time and are useful as references.
? Sample Device Emulator eXDI 2 Driver KdStub cannot debug routines that the system runs prior to loading the kernel, nor can it debug interrupt service routines (ISRs), because this debugging library relies on software breakpoints. For hardware-assisted debugging, Platform Builder includes a sample eXDI driver that you can use in conjunction with a joint test action group (JTAG) probe. The JTAG probe enables you to set hardware breakpoints handled by the processor.
NOTE
Hardware-assisted debugging
For detailed information about hardware-assisted debugging, see the section "Hardware-assisted Debugging" in the Windows Embedded CE 6.0 Documentation, available on the Microsoft MSDN Web site at http://msdn2.microsoft.com/en-us/library/aa935824.aspx.
- Enabling and Managing Breakpoints
- Debugger Options
- Enabling the Kernel Debugger
- 2.3.3 Selecting and Pasting
- 5.2.3 In-Circuit Debuggers
- 13.1. GNU Debugger (GDB)
- 13.2. Data Display Debugger
- Selecting backup devices and media
- 5.3.4 Using the mikroICD In-Circuit Debugger
- Selecting Specific Protocols
- Selecting a Group on Which to Operate
- Selecting a backup utility