[Mono-list] mono_runtime_invoke not catching exceptions?

Robert Jordan robertj at gmx.net
Tue Feb 21 21:41:30 UTC 2012


On 21.02.2012 22:15, efontana wrote:
> Interesting, I wonder if this applies:
>
> http://msdn.microsoft.com/en-us/library/system.windows.forms.application.setunhandledexceptionmode.aspx

Yes, this is likely the issue. Unfortunately Mono doesn't implement it,
or it doesn't work.

Under MS.NET, the following will propagate exceptions beyond
Application.Run(), but it doesn't work with Mono:

Application.SetUnhandledExceptionMode (
	UnhandledExceptionMode.ThrowException);


Robert



More information about the Mono-list mailing list