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

Debugging via ActiveSync

6 views
Skip to first unread message

LightStamp

unread,
Nov 18, 2009, 9:38:43 AM11/18/09
to
I've got an existing CE5 application that i will maintain. I'm running the
app from VS2005 and deploying to the device. I've set a breakpoint in a
module and hit F5 and get "the breakpoint will not currently be hit. The
specified module has not been loaded."
How do I enable this breakpoint during runtime for debugging?

In desktop apps I've had to add a reference say to another DLL but this
module is in the project.

TIA
Harry


DickGrier

unread,
Nov 18, 2009, 12:26:27 PM11/18/09
to
Is your project running in Debug mode? If you are compiling for Release,
then the executable will not have the symbolic information required to hit
the breakpoint.

Dick

--
Richard Grier, Consultant, Hard & Software 12962 West Louisiana Avenue
Lakewood, CO 80228 303-986-2179 (voice) Homepage: www.hardandsoftware.net
Author of Visual Basic Programmer's Guide to Serial Communications, 4th
Edition ISBN 1-890422-28-2 (391 pages) published July 2004, Revised July
2006.

LightStamp

unread,
Nov 19, 2009, 10:17:01 AM11/19/09
to
Think part of the problem is I've never debugged a CE 5 app like this only
Pocket PC apps and I hear debugging is different for this OS. I just want
to debug to the device though so seems like it ought to be possible.

"LightStamp" <harry....@mapcoexpress.net> wrote in message
news:e6fDmzFa...@TK2MSFTNGP06.phx.gbl...

russ...@gmail.com

unread,
Nov 21, 2009, 12:10:19 PM11/21/09
to
On Nov 18, 9:38 am, "LightStamp" <harry.simp...@mapcoexpress.net>
wrote:

I've run into this before if my target platform did not match my
device type. For instance I have a winmo5 project that I can debug
with breakpoints on a Dell Axim X51 (Winmo5), but debugging fails with
on a winmo6 iPaq device.

You may need to change your target platform. In Solution Explorer,
right click the project name and choose "Change Target Platform" near
the bottom of the context menu. Make sure you have the correct
windows mobile SDK that matches your hardware os version.

Regards,
Russ

0 new messages