HighTechTalks DotNet Forums  

Debugging via ActiveSync

Dotnet Framework (Compact Framework) microsoft.public.dotnet.framework.compactframework


Discuss Debugging via ActiveSync in the Dotnet Framework (Compact Framework) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
LightStamp
 
Posts: n/a

Default Debugging via ActiveSync - 11-18-2009 , 08:38 AM






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

Reply With Quote
  #2  
Old   
DickGrier
 
Posts: n/a

Default Re: Debugging via ActiveSync - 11-18-2009 , 11:26 AM






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.

Reply With Quote
  #3  
Old   
LightStamp
 
Posts: n/a

Default Re: Debugging via ActiveSync - 11-19-2009 , 09:17 AM



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.simpson (AT) mapcoexpress (DOT) net> wrote

Quote:
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

Reply With Quote
  #4  
Old   
russryba@gmail.com
 
Posts: n/a

Default Re: Debugging via ActiveSync - 11-21-2009 , 11:10 AM



On Nov 18, 9:38*am, "LightStamp" <harry.simp... (AT) mapcoexpress (DOT) net>
wrote:
Quote:
I've got an existing CE5 application that i will maintain. *I'm runningthe
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
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

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.