You may receive the "Debugger swap error" error message when you use eMbedded Visual C++ 4.0 to debug an application that is running on a device that is running Windows CE (895421)
The information in this article applies to:
- Microsoft eMbedded Visual C++, Version:4.0
- Microsoft Windows CE Platform Builder 4.0
- Microsoft Windows CE Platform Builder 4.1
- Microsoft Windows CE Platform Builder 4.2
- Microsoft Windows CE 5.0
SYMPTOMSWhen you use Microsoft eMbedded Visual C++ 4.0 to debug an application that is running on a device that is running Microsoft Windows CE, you may receive the following error message: Debugger Swap Error eVC cannot locate a debugger able to debug the attached device. The debugging session cannot begin. CAUSEThis behavior occurs because eMbedded Visual C++ 4.0 only recognizes a subset of the processor types that the Windows CE operating system supports. If the device returns a processor type that eMbedded Visual C++ 4.0 does not recognize, eMbedded Visual C++ 4.0 cannot locate the correct debugger for the device.RESOLUTIONTo resolve this behavior, the device manufacturer must modify the OEMInit function to return a processor type that eMbedded Visual C++ 4.0 recognizes. For example, the device manufacturer must add lines of code that are similar to the following to the OEMInit function. extern DWORD CEProcessorType;
CEProcessorType = PROCESSOR_STRONGARM; eMbedded Visual C++ 4.0 currently recognizes the following processor types: - PROCESSOR_ARM720
- PROCESSOR_ARM820
- PROCESSOR_ARM920
- PROCESSOR_STRONGARM
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 6/1/2005 |
---|
Keywords: | kbprb KB895421 kbAudDeveloper |
---|
|