Friday, July 11, 2008

Today I had to spend a couple of hours resolving some bugs.     My life has got a whole lot easier once I realised that you can debug not only a Windows Mobile app (and we all know how to do that),  but the web-services it calls too.

If you start debugging your web-service using the inbuilt debug web-server in Visual Studio,  then up will come Internet explorer showing an address like

http://localhost:62446/yourwebservice.asmx

If you make a note of the ip-address of your machine (say mine is 192.168.0.3)   then in your mobile application,   change the url of your web-service to be

http://192.168.0.3:62446/yourwebservice.asmx

Then run the mobile application in debug mode too.  If all goes to plan, you can debug both the mobile application and the back-end complete with break-points and all the normal bells and whistles.   Sorted…

Friday, July 11, 2008 9:18:49 PM UTC  #    Comments [0]  | 

Theme design by Jelle Druyts

Pick a theme: