[MonoTouch] Any idea what could cause this crash?

Rolf Bjarne Kvinge rolf at xamarin.com
Thu Mar 22 13:28:02 UTC 2012


On Thu, Mar 22, 2012 at 1:13 PM, René Ruppert
<rene.ruppert at googlemail.com>wrote:

> Rolf,
>
>
>
> while composing a reply with some code fragments, I realized that I was
> missing an InvokeOnMainThread() while changing my UI.
>
> Chances are high that this caused the problem. I’ll keep an eye on it.
> Thanks for asking for the code! J
>
> In the world of Windows Forms, an application throws if you try to execute
> UI related code on anything but the main thread.
>
> In iOS it often seems to work and randomly crashes with obscure unhandled
> exceptions. Would it be possible for MT to throw immediately like Windows
> Forms does?
>

Yes, that's easy. Just install the 5.3.2 alpha :)

Rolf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monotouch/attachments/20120322/25caa0be/attachment.html>


More information about the MonoTouch mailing list