Microsoft KB Archive/908274

= Debugging fails, and you do not receive a clear error message about the failure in Visual Studio 2005 =

Article ID: 908274

Article Last Modified on 5/10/2006

-

APPLIES TO


 * Microsoft Visual Studio 2005 Team System Architect Edition
 * Microsoft Visual Studio 2005 Team System Developer Edition
 * Microsoft Visual Studio 2005 Team Foundation
 * Microsoft Visual Studio 2005 Standard Edition
 * Microsoft Visual Studio 2005 Professional Edition

-





SYMPTOMS
Consider the following scenario. You try to debug an application by using Microsoft Visual Studio 2005. The application is built for a Microsoft Windows Mobile 5.0-based Pocket PC. In this scenario, the application does not run on the device, and debugging fails. Additionally, you do not receive a clear error message about the failure in Visual Studio 2005.

Typically, this problem occurs after you change the deployment target in Visual Studio 2005 to the Pocket PC 2003 emulator.



CAUSE
This problem occurs because the Visual Studio debugger cannot process error messages correctly when you try to run the application by using an incompatible CPU type. The Pocket PC 2003 emulator is incompatible with a Windows Mobile 5.0-based Pocket PC.



WORKAROUND
To work around this problem, change the deployment target to the Windows Mobile 5.0 Pocket PC Software Development Kit (SDK). To do this, follow these steps:
 * 1) Start Visual Studio 2005.
 * 2) On the Project menu, click Change Target Platform.
 * 3) In the Change Target Platform dialog box, click Windows Mobile 5.0 Pocket PC SDK under Change to, and then click OK.



MORE INFORMATION
For more information about how to debug a Windows Mobile 5.0-based application in Visual Studio 2005, visit the following Microsoft Developer Network (MSDN) Web site:

http://msdn.microsoft.com/mobility/

Keywords: kbdebug kbtshoot kbprb KB908274

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.