Unable to start debugging


G

gaene

I have Win XP Sp3, Visual Studio 2005 Sp1. I try to develop a small app for
the WinCe 6.0 Device. The connection is via USB - ActiveSync. I use the
Compact Framework 2.0. I can start and deploy the program, but I cannot start
the debugging.I always get the message "Unable to start debugging".
 
Ad

Advertisements

P

Paul G. Tobey [eMVP]

Are you running Platform Builder for Windows CE 6 in the same or another
instance of VS2005 at the same time? If so, I think you'd be better off to
shut down PB, then try to start debugging. If this is a DEBUG build of the
OS that requires a KITL connection to Platform Builder to run, it should
work, but there have been reports of problems with it. Also, what SDK are
you targeting? Not one of the "standard sdk" items, right? You built an
SDK for your real target device, installed that SDK on the machine and then
used VS2005 to build the program for it?

Paul T.
 
P

Paul G. Tobey [eMVP]

Are you running Platform Builder for Windows CE 6 in the same or another
instance of VS2005 at the same time? If so, I think you'd be better off to
shut down PB, then try to start debugging. If this is a DEBUG build of the
OS that requires a KITL connection to Platform Builder to run, it should
work, but there have been reports of problems with it. Also, what SDK are
you targeting? Not one of the "standard sdk" items, right? You built an
SDK for your real target device, installed that SDK on the machine and then
used VS2005 to build the program for it?

Paul T.
 
G

gaene

I am not running PlatformBuilder or another instance of VS at the same time.
I am using a debug build. The problem is that with my Laptop WinXp Sp2 I can
debug. Just with my desktop machine i cannot. The only difference is WinXP
Sp3.
 
G

gaene

I am not running PlatformBuilder or another instance of VS at the same time.
I am using a debug build. The problem is that with my Laptop WinXp Sp2 I can
debug. Just with my desktop machine i cannot. The only difference is WinXP
Sp3.
 
P

Paul G. Tobey [eMVP]

If you're using a DEBUG build, don't you require the kernel debugger? Seems
like you would normally. How is the kernel debugger connected?

I'm running SP3, so that difference, specifically, doesn't seem to be
significant.

You don't answer most of my questions...

Paul T.
 
Ad

Advertisements

P

Paul G. Tobey [eMVP]

If you're using a DEBUG build, don't you require the kernel debugger? Seems
like you would normally. How is the kernel debugger connected?

I'm running SP3, so that difference, specifically, doesn't seem to be
significant.

You don't answer most of my questions...

Paul T.
 
C

CodeDog

Don't know if this is your problem but...

Upgraded a Pocket PC project from VS 2005 to VS 2008. My program built and
deployed just fine. But got the "Unable to Debug" message box.

Problem turn out that the "Project Configuration
Properties:Debugging:Debugger to launch" setting was not set to Smart Device
Native Debugger after the project upgrade. Apparently the default setting is
now a Web Server debugger?

Hope this saves someone some time, was not easy to find.
 
Ad

Advertisements

Joined
Aug 28, 2009
Messages
1
Reaction score
0
CodeDog - THANKS A LOT!
I'd have the exact problem with migration from VS 2005 -> VS 2008
The solution is so simple!
 

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