This issue needs help from Motorola. We will raise this issue with them to get an answer.
Not sure I'm understanding what you are asking, but let me throw some things out there.
You will want to test on a real device. You can connect the device to your PC using a cradle and a USB cable. You will want to have "Windows Mobile Device Center" loaded on your Windows 7 machine. This will handle connecting the device to your machine. You can debug on the real hardware over this USB link once all of this is working. Sometimes it also helps to have both the device and the PC on the same Wireless network also, but this is not required. You might see references to Activesync in some of the developer docs. Activesync was used on WIndows XP and previous, but starting with Vista, you use Windows Mobile Device Center instead.
Is this what you were looking for?
I have the device connected via Windows Mobile using the cradle and USB. I can build the program, copy it to the device and then run the program on the device.
How do I debug the program from the VS2008 PC on the device?
In Visual Studio, you can just press F5 to start debugging (or do debug from the top menu bar). If everything is set up right, it should prompt you asking where to deploy your app. Select the appropriate type of device, then hit "Deploy". This should copy all needed files to the device and start your debug session. You can set breakpoints in your code on the PC, and the app running on the device should stop at them just as if you were running on the PC. If any of this does not seem to be working for you, I would double check the EMDK readme file way down the bottom and make sure you have everything installed on your PC that you need. One thing it mentions that I don't see listed in your original note is the Win Mobile SDK.
Install Requirements for Visual Studio 2008:
- Microsoft® Windows XP (32-bit) or Microsoft® Windows Vista (32-bit) or Microsoft® Windows 7 (32-bit and 64-bit) or Microsoft® Windows 8
- Microsoft® Visual Studio 2008 *
- Microsoft ActiveSync 4.5 or higher (only for Windows XP, Vista has its own Mobile Device Center)
- Microsoft® Windows Mobile Device Center 6.1 or higher. (only for Windows 7)
- One of more of the following SDKs for the Windows Mobile development:
If developing applications for Windows Embedded Compact 7.0 (CE 7.0) is a requirement, then install the followings:
- Microsoft® Visual Studio 2008 with Service Pack1
- Install the update that adds support for Windows Embedded Compact 7.0
- Install the update that extends support for Windows Embedded Compact 7.0. This fix is required only if you are targeting ATL or MFC.
Thank you for your information.
I verified these were installed and noticed the the Deploy menu only listed Windows Mobile 5.0 options.
I went into Project - Change Target Platform and changed it from a Windows Mobile 5.0 to Windows Mobile 6.0 Professional SDK and the Deploy menu now lists the Windows Mobile 6 options.
It now debugs on the device.
Thank you for your assistance.