views:

548

answers:

5

I have been pulling my hair out!

Does anybody know how to debug a app on a remote device running pocket pc version 4.2 over a wireless network? I can remote debug over active sync but this device only supports active sync while cradled at 57K baud (painful debugging experience).

I do wireless debugging in widows moible 5 all the time.

Any help???

Thanks!

Joe

A: 

I have the same experience as you.. I tried hard, but never got it working.

Nils Pipenbrinck
+2  A: 

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.

Jack Bolding
It was still not working...however... I feel like a moron: I went back in found out that in visual studio I had two periods in my IP address for the device -- crap!Thank you for the help - it is working now --I appriciate you taking the time to verify it on the same device.I would have assumed that visual studio would not have let me enter a invalid IP -- interesting!--Joe
MostlyLucid
A: 

Sorry...that does not work either.

I found the option and turned it off.

I get error:connect to device failed. I have tried both with the use specific port checked and unchecked.

Is there something I have to do on the device end first?

I am using a symbol pdt8146, operating system says: microsoft pocket PC version 4.20.0

Thank you for your help,

Joe

MostlyLucid
I used a pdt 8146 4.20 build 13252 to verify that this does work. Sometimes I did get the same error as you when running XP but re-running the application did re-connect the device. You may need to enable data connections when cradled. I have edited my response.
Jack Bolding
A: 

Using Visual Studio 2005 to debug against Windows CE 5.0 devices without using ActiveSync on the Visual Studio For Devices team blog.

Anthony Mastrean
A: 

ajmastrean: Thank you, however, that only works on windows CE 5.0 devices, not 4.2 as per this discussion. In case anybody else finds this thread looking for ce5.0 help, the above link does work, however, it is a little tricky:

You will need to run the program from the command line for one thing (took me a bit to figure that out)

The eaisest way is to use the following:

http://handheld.softpedia.com/get/Desktop-and-Shell/Development/Remote-Debugger-64174.shtml

Load it on the device, run it then go into your settings in vs and make sure to set the port number under the device connection.

Jacco: I will try that this evening - thanks

MostlyLucid
I'm using the exact steps described in the link I posted on a Pocket PC 2003 device at work... hm.
Anthony Mastrean
Good to know! The article only references WM5.0 and the app I use to set everything up is not a CE app -- I should have tried your steps before just assuming it would not work -- point taken.--Thanks
MostlyLucid