Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Breakpoints not working on Windows CE 6.0 , Module not loaded

2 views
Skip to first unread message

sjstone

unread,
May 25, 2007, 6:08:03 PM5/25/07
to
I am building a C# device application using Visual Studio 2005 SP1 that
targets a Windows CE 6.0 SDK emulator. It is running on the .net Compact
Framework 2.0 SP1. After I add a breakpoint in Visual Studio and run the
application in debug mode, the breakpoint becomes disabled with a warning
triangle. If I mouse-over the breakpoint, I get a message that says "The
breakpoint will not currently be hit. The specified module has not been
loaded." If I pause the debugger when it is running the application, I
receive an alert box saying "No symbols are loaded for any call stack frame.
The source code cannot be displayed".

I've written a native C++ application that is similar to this one in
functionality and the Visual Studio debugger worked fine. I can also add a
line of code into the C# application "System.Diagnostics.Debugger.Break( )"
and the debugger breaks at the line and I can step through it, but I
shouldn't have to code this. Setting a breakpoint in the IDE should work.

Can someone tell me how to make the debugger in Visual Studio 2005 work with
a .net app running on a Windows CE 6.0 SDK emulator? Is the Windows CE 6 OS
Design and SDK missing something?

sjstone

unread,
May 31, 2007, 5:34:01 PM5/31/07
to
It appears that I have solved my problem by installing the .NET Compact
Framework 2.0 SP1 patch, which upgrades the SDK in Visual Studio 2005 to SP1.

The patch can be downloaded at:
http://www.microsoft.com/downloads/details.aspx?FamilyID=7befd787-9b5e-40c6-8d10-d3a43e5856b2&DisplayLang=en

Also my WinCE 6.0 emulator is running the .NET Compact Framework SP2, which
was added through the Platform Builder monthly update for March 2007 at:
http://www.microsoft.com/downloads/details.aspx?FamilyID=021f5cfd-95fe-4bcf-aed2-15c0296370da&DisplayLang=en

I don't know why the SP1 patch was required in Visual Studio 2005 to enable
normal debugging in .NET projects, but it continuously disabled the
breakpoints until I installed the patch, and it is working now. If someone
can explain the problem and why this solved it, I would love to hear it.

0 new messages