all groups > visual studio .net general > january 2006 >
You're in the

visual studio .net general

group:

VS2005 unable to debug on Wince device (Ctrl + F5 works F5 does not)


VS2005 unable to debug on Wince device (Ctrl + F5 works F5 does not) neelimam NO[at]SPAM gmail.com
1/30/2006 11:57:58 PM
visual studio .net general: Hi,

I am trying to debug a simple hello world app on a Windows CE 5.0
device (custom OS), using Visual Studio 2005. I have the device
connected to the PC using ActiveSync & cross cable. I can ping to the
device and the PC & device are on the same subnet.

When I try to debug the device I get the error message
"Unable to start debugging."

Deploy succeeds as specified the messages below:
1>------ Deploy started: Project: testm, Configuration: Debug
STANDARDSDK_500 (ARMV4I) ------
========== Deploy: 1 succeeded, 0 failed, 0 skipped ==========

I have tried uninstalling & reinstalling Visual Studio 2005 & Standard
SDK 5. I have also removed VS .NET 2003 from my PC. So now on VS 2005
with Standard SDK is there.

I can use Ctrl + F5 and start the application. This works but F5 does
not.

Can some one suggest what else to try to get debugging running on the
hardware.

Thanks & regards,
Neelima
Re: VS2005 unable to debug on Wince device (Ctrl + F5 works F5 does not) LosManos
1/31/2006 12:00:00 AM
hejdig.

I have noticed that when breakpoints are set the environment sometimes
refuses to start debugging. So try to remove the breakpoints and press play
again.

(You could also check that all target files aren't write protected.)

HTH

/OF

[quoted text, click to view]

Re: VS2005 unable to debug on Wince device (Ctrl + F5 works F5 does not) MSenne
1/31/2006 7:02:39 AM
You sure you are building for Debug and not Release? Are you sure you
haven't messed up your project settings and removed the DEBUG (NDEBUG,
_DEBUG or whatever it is) preprocessor definition?
-MSenne
Re: VS2005 unable to debug on Wince device (Ctrl + F5 works F5 does not) neelimam NO[at]SPAM gmail.com
1/31/2006 7:11:46 PM
The build is for a debug build, PDB , no optimizations etc. everything
is on.
I also tried creating another helloworld just now, just in case...Same
problem, Ctrl F5 works , F5 doesn't..
Re: VS2005 unable to debug on Wince device (Ctrl + F5 works F5 does not) neelimam NO[at]SPAM gmail.com
1/31/2006 7:14:38 PM
No break points are set and there is only one exe, in that folder and
it is not read only.
Re: VS2005 unable to debug on Wince device (Ctrl + F5 works F5 does not) r_z_aret NO[at]SPAM pen_fact.com
2/1/2006 6:24:54 PM
I was about to send a note suggesting that you need a custom SDK. But
then I saw your "VS2005 remote tools do not connect, but eVC tools do"
thread. These two threads seem very similar, so I think you should
have posted only one; that way everyone could easily see the whole
discussion.


[quoted text, click to view]

-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).

Robert E. Zaret, eMVP
PenFact, Inc.
20 Park Plaza, Suite 478
Boston, MA 02116
AddThis Social Bookmark Button