Thursday, 25 September 2008

Debugging of native applications with WinCE 5.0 Platform Builder

Hi Folks,

I ran into a problem this week with debugging of Windows CE 5.0 application. I built a simple C++ "Hello world" application wtih eMbedded Visual C++ 4.0. The application works well, I could set breakpoints and debug with Platform Builder 5.0 -> expected behaviour. I took the same source code, built it with Visual Studio 2005 and tried to debug. The application still works, but my breakpoints were ignored by the PB.

When you use the Microsoft Windows CE Platform Builder 5.0 debugger to debug a C++ application that was developed by using Microsoft Visual Studio 2005, you cannot set a breakpoint in the source code window.
The Platform Builder 5.0 debugger cannot interpret the debug information generated by Visual Studio 2005, if you havn't installed any Windows CE 5.0 QFEs.
This is a "known" problem, described by the knowledge base article KB904253 and already fixed by a QFE.

This problem shows how important is the installation of the latest QFEs just to keep your Windows CE environment up to date!

No comments: