I am using Windows 7 with VS2005 to debug an MFC application on a T30 module running WCE7 1.4.
If I put a breakpoint pretty much anywhere that will get landed on in code that is running in a separate thread, then click step over or step into, I immediately get an error message:
Microsoft Visual Studio
The remote connection to the device has been lost. Verify the device connection
and restart debugging.
Clicking OK gives me “Microsoft Visual Studio has encountered a problem and needs to close.”
I typically have to use task manager to forcibly quit Devenv.exe. Sometimes Mobile Device Center reports that its still connected but its not, so I then have to reboot the CE device.
Same issue occurs when using VS2008 (running in Virtual Box).
I can replicate this maybe 90% of the time with VS2005 (or VS2008) and T30 modules. And maybe 1% or less with VS2005 and PXA320, PXA300XT, VF50, VF61 modules.
Has anyone else experienced this?