[mono-android] Heavy load Thread without being killed?

Brannon King notacommie at gmail.com
Wed Feb 15 14:54:34 UTC 2012


Are you doing this heavy lifting on the UI thread? You can't do anything
like that there; the OS will kill you after a certain period of
unresponsiveness. If you're doing it on a background thread, are you
accessing the UI thread from your background thread without using
RunOnUIThread? Mono for Android crashes if you do that without any warning
(see the bug list). Also, the debugger has major issues with catching
exceptions in background threads. You're best to put in some breakpoints
there or move your code temporarily to the UI thread whilst resolving
issues with it.

On Wed, Feb 15, 2012 at 7:36 AM, Oscar R Lopez <ironarthur at hotmail.com>wrote:

> i don´t get any exception, i get some "your pid has died"
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodroid/attachments/20120215/b2d8cd98/attachment.html>


More information about the Monodroid mailing list