Hi,
I'm having a recurring problem that is driving me a bit mad.  I have a WCF
client and I make a call to a service using the Begin... and End... methods.
When everything is in order - no problem. If the network is down or the
server throws an exception or anything like that and I am running in the
Debugger, then the debugger halts at the throw in
ClientRuntimeChannel.Process (line 485). This is very frustrating because I
want to handle the exception and carry on, but before I can do that I have
to dismiss the exception helper and allow the execution to continue. When
the call to the End... method is made then I get an exception thrown that I
can catch and handle.  

How can I force the Monodevelop debugger to not halt at the throw in
ClientRuntimeChannel.Process?

I tried hooking up an AppDomain.CurrentDomain.UnhandledException handler but
this is not fired so the WCF exception is being handled somewhere. The stack
trace where the debugger halts shows only that call so it is not clear to me
what is going on. I Checked that the ClientRuntimeChannel.Process call is in
the same AppDomain.

Cheers,
Felix

--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/MonoDevelop-Breaks-in-WebService-on-exception-tp4604782.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to