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

Article translations Article translations
Article ID: 908274 - View products that this article applies to.
Expand all | Collapse all

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/

Properties

Article ID: 908274 - Last Review: May 10, 2006 - Revision: 1.0
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
Keywords: 
kbdebug kbtshoot kbprb KB908274

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com