Unable to debug on the device :-(

  • Thread starter Thread starter Alex Feinman [MVP]
  • Start date Start date
A

Alex Feinman [MVP]

Does the computer have a network card? Is the card connected to the network?
If not, install a loopback adapater and give it a static IP address
(anything that does not interefer with your other network)
 
Hi all

When I try to debug (F5) on the device I get this Error.
--------------------------------------------
Launching Application
Error while trying to run project: Unable to start debugging.
Unable to start program <programDir>><fullpath>
-------------------------------------------------------
If I start with out debugging (Ctrl+F5) the application run successfully.
???

On the Emulator I have no problem to debug.

Any idea?

I saw that for some pepole, installing "Windows CE .NET utilities v 1.1 for
VS.NET 2003"
solve this problem. It didn't solve my problem...

I tried to reinstall the VS.Net 2003, the PPC 2002 SDK; PPC 2003 SDK, Active
sync 3.7.1 ....

My girl friend suggest to throw the computer and the IPAQ from the window,
this will solve the problem, but it is a bit expensive :-)

do any one have a better idea ?

Thanks,
Ofer
 
Yes I have.
I was able to debug on the same machine for the past year, untill 2 days ago
:-(


To answer some of the standard questions:
No, other applications cannott be debugged
No, F5 does not work, but CtrlF5 does
Yes, the files are being copied to the device, and I can run them
Yes, I have reinstalled VisualStudio 2003, and I also had
2002 installed prior (completely uninstalled prior to
installing 2003)
Yes, I am on a network
Yes, I have hard reset the ipaq
I have installed "Windows CE .NET Utilities v1.1 for
Visual Studio .NET 2003.EXE" which has allowed me to
connect to the device again, but still not debug it.
Yes, I can debug on the emulator

Ofer
 
I was able to cure the same symptoms with some of the tools from the Windows
CE .NET utilities v 1.1 for VS.NET 2003. Just installing the toolkit by
itself doesn't fix it. Look for discussions of ProxyPorts.reg and
WinCEx86Device.reg in the readme.htm that's included with the utilities. In
some cases, SelectWinCECPU.exe has been helpful. It's part of the same set
of utilities, but is not documented in the readme. Also, if your CE device
boots from compact flash, check out the section on DelCryptoKeys to see if
it's applicable. I've found that running it on my CE machine fixes the
problem when it reoccurs occasionally. On another machine that does not use
compact flash, it's unnecessary. Hope this helps.

Dave
 
Back
Top