Cannot debug app!

  • Thread starter Peter Morris [Droopy eyes software]
  • Start date
P

Peter Morris [Droopy eyes software]

I get this now and again. It seems that to fix it I just have to go to bed
and try again the next day, unfortunately that is too time consuming :)

---------------------------
Microsoft Visual Studio
---------------------------
The remote connection to the device has been lost. Please verify the device
connection and restart debugging.
---------------------------
OK
---------------------------


When my apps runs it does this

1) Create an instance of a form in a DLL and show it (splash screen)
2) Load some more DLLs off disk
3) Close the splash screen
4) Create an instance of a different form in one of the loaded DLLs and show
it modally

I have tried resetting my PPC and my desktop, but it makes no difference. I
have seen this question asked many times but not seen an answer.

Can anyone help? Even just suggestings of things to try would be great!


Thanks

Pete
 
P

Peter Morris [Droopy eyes software]

AHA!

The DLL in which I stored my second form class was compiled as RELEASE
instead of DEBUG!
 
P

Peter Morris [Droopy eyes software]

PS, I also find that the remote desktop viewer app on the PPC often causes
this problem for me too!
 
P

Peter Morris [Droopy eyes software]

GRRRR! I spoke too soon!

It was good for a single run only, now it is throwing the error again!
 
E

Earl

This is probably an ActiveSync problem. I see it consistently if I leave
ActiveSync connected and the system goes into hibernate on my laptop.
ActiveSync goes stupid and "forgets" it had a connection. I recommend making
sure you uncradle your device or your emulator before you logoff or
hibernate. If that is indeed the problem, the only other solution is to
restart your system.
 
D

Dariusz

I think I've had this problem.
The solution is to remove all breakepoints from project and start debug.
It helps me many times.

Best Regards
Darek
 

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