This is Xamarin's bug tracking system. For product support, please use the support links listed in your Xamarin Account.
Bug 4682 - There is a conflict with Couchdb and the debugger
Summary: There is a conflict with Couchdb and the debugger
Status: NEW
Alias: None
Product: iOS
Classification: Xamarin
Component: General (show other bugs)
Version: 5.2
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-04-26 19:29 UTC by James Clancey
Modified: 2012-06-05 10:51 UTC (History)
3 users (show)

See Also:
Tags:


Attachments

Description James Clancey 2012-04-26 19:29:00 UTC
Couchdb loads its own internal server. Whenever it launches you are unable to debug MonoTouch projects. You can run the attached sample in debug mode and the debugger fails. If you run the app it works great.
Comment 1 James Clancey 2012-04-26 19:33:10 UTC
Testcase: http://dl.dropbox.com/u/49675167/CouchDb.zip
Comment 2 Jeffrey Stedfast 2012-06-04 17:16:55 UTC
it looks like couchdb is closing the socket connection between MonoDevelop and the app, probably when it forks off the server.
Comment 4 Jeffrey Stedfast 2012-06-05 10:51:05 UTC
MonoDevelop can't override CouchDB closing socket descriptors in the app.

I haven't closed this bug yet because I'm trying to think of ways that MonoTouch could prevent CouchDB from going behind its back and closing socket descriptors, but I haven't thought of any way to do that yet...

Speaking of which, I should reassign this to the MonoTouch team as it's clearly impossible to workaround in MonoDevelop.

Note You need to log in before you can comment on or make changes to this bug.