View Single Post
  #3 (permalink)  
Old 08-01-2007, 11:54 PM
prasannavigneshr prasannavigneshr is offline
D-Web Incredible
 
Join Date: Feb 2007
Posts: 1,321
prasannavigneshr is on a distinguished road
Send a message via MSN to prasannavigneshr
Default Re: HTTP Web Response Exception - I cant able to trap.

Hi naveen,

Quote:
You can debug on your WM5 device(not the emulator), reproduce it and see where it stops, then try/catch the exception.
Can you tell me how to debug with GPRS? I don't think it is possible!



Debugging with ActiveSync and using my PC to connect to the Internet produces different results.

*
Connecting to the Internet via ActiveSync, debugging is possible. If during downloading midway I close my Internet connection HttpWebResponse returns 0 bytes, no exception is thrown.
*
Connecting to the Internet using GPRS, debugging is not possible. If during downloading midway I close the GRPS connection (press and hold end call key), program crashes. From the error message it seems that the crash is occurring in System.Net.Sockets and not in my code.

Thanks
__________________
Prasanna Vignesh
MCPD | Web Developer
Reply With Quote