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-boun...@lists.ximian.com 
[mailto:monodroid-boun...@lists.ximian.com] On Behalf Of Stephan Steiner
Sent: Monday, October 01, 2012 12:04 PM
To: monodroid@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@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to