Bug 692414 - HttpWebResponse.GetResponse() and Debugger
Summary: HttpWebResponse.GetResponse() and Debugger
Status: CONFIRMED
Alias: None
Product: MonoTouch
Classification: Novell Products
Component: Debugger (show other bugs)
Version: unspecified
Hardware: Other Other
: P5 - None : Critical
Target Milestone: ---
Assignee: Mono Bugs
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-07 00:47 UTC by Josh Engebretson
Modified: 2011-08-12 17:40 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---
kumpera: needinfo? (joshenge)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Josh Engebretson 2011-05-07 00:47:47 UTC
Description of Problem:

HttpWebResponse.GetResponse() is causing problems under the debugger.  It seems to work running without the debugger. This has been tested with MonoTouch 4.0.2 and 4.0.3

Steps to reproduce the problem:

1. The easiest way to see it is to add the following to the OnRenderFrame method of the EAGLView class in the MonoTouch OpenGL template: 

HttpWebRequest.Create ("http://www.google.com").GetResponse ().Close();

Note, that it also causes a problem in other places, so not related to this method.  This is just an easy test case.

2. Debug under the simulator, the call usually works the first time.  Though, subsequent calls exit the app on the simulator and end the debug session.  Every once in awhile you get lucky, so try this a few times and should see the issue.
Comment 1 Rodrigo Kumpera 2011-08-03 18:26:16 UTC
I cannot reproduce your bug doing what you described. I let it hit google for a minute and two without any issues.

When it exit the debugging session, what is the console output?
Comment 2 Miguel de Icaza 2011-08-12 17:40:46 UTC
Perhaps we need a self-contained test case.