[mono-android] Avoidable TPF error in M4A
Miha Markic
Miha at rthand.com
Mon Oct 1 14:00:47 UTC 2012
Yep, probably somebody isn't observing exceptions. They should be observed always (even if not handled) and thus this is probably a bug.
Miha
-----Original Message-----
From: monodroid-bounces at lists.ximian.com [mailto:monodroid-bounces at lists.ximian.com] On Behalf Of Stephan Steiner
Sent: Monday, October 01, 2012 12:04 PM
To: monodroid at lists.ximian.com
Subject: Re: [mono-android] Avoidable TPF error in M4A
It doesn't stop the app all the time though. Just now I received another unhandled task exception that was caused by
Mono.AndroidTools.AdbException: device offline.
That disconnected the debugger, but the app merrily chugged along. I just switched to 4.2.7 yesterday, but previously when I got debugger disconnects, it was just that, a disconnect, no exceptions.
Stephan
Indeed looks like m4a internally is using a Task to invoke OnCreate. Perhaps it is by design that exceptions aren't handled when invoking OnCreate and applications is stopped if an unhandled exception occurs.
Miha
--
View this message in context: http://mono-for-android.1047100.n5.nabble.com/Avoidable-TPF-error-in-M4A-tp5712017p5712023.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
Monodroid at lists.ximian.com
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid
More information about the Monodroid
mailing list