Unable to start debugging

  • Thread starter Thread starter gaene
  • Start date Start date
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".
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
CodeDog - THANKS A LOT!
I'd have the exact problem with migration from VS 2005 -> VS 2008
The solution is so simple!
 
Back
Top