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

N

neelimam

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
 
L

LosManos

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
 
M

MSenne

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
 
N

neelimam

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..
 
N

neelimam

No break points are set and there is only one exe, in that folder and
it is not read only.
 
R

r_z_aret

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.


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

-----------------------------------------
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
www.penfact.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top