R – How to debug a Pocket PC app running over a wireless network

compact-frameworkpocketpcvisual-studio-2008windows-mobile

How do I debug an app running on a remote device, Pocket PC 4.2 (2003), over a wireless network (802.11)? I can remote debug with ActiveSync when the device is cradled (57K baud). I'm using Visual Studio 2008.

I am familiar with wireless debugging in Windows Mobile 5.

Best Answer

To debug Pocket PC 2003 over the network from Visual Studio 2008:

  • go to Tools/Options to bring up the Options Dialog.
  • In the tree select Device Tools/Devices select Pocket PC 2003 in both the Drop Down at the top and the list box in the middle,
  • press the Properties button
  • uncheck the Detect when device is disconnected

You will need to have the device cradled to begin debugging for the first time. After Visual Studio has connected to the device, you should be able to remove the device from the cradle.

The other step needed is to enable the wireless or dataconnections while the device is cradled

In ActiveSync if on XP

  • go to File/Connection Settings
  • check the Allow Wireless connections on device check box

In Windows Mobile Device Center on Vista

  • go to the Mobile Device Settings/Connection Settings
  • check the Allow Data connections check box

in both cases you will need to re-synchronize your device.

As well, you can no longer use the PPP_PEER machine name.