[Mono-list] How to debug SOAP webservice

Andrus kobruleht2 at hot.ee
Wed Dec 24 14:34:55 EST 2008


Gonzalo,

> How about a good old try/catch in the webmethod and a Console.WriteLine
> (or Console.Error.WriteLine) to print the stacktrace?

I tried this.
Since exception occurs outside web method, try/catch inside web method does 
not catch it.
I entered bug:

https://bugzilla.novell.com/show_bug.cgi?id=462449

This may be caused by missing EntityRef implementation in System.Data.Linq.

However it would be useful if there is way to obtain stack trace for this 
error also or force mod-mono-server to output stack trace in this case.

Andrus. 



More information about the Mono-list mailing list