[mono-android] Troubleshooting an ANR - Global Exception Handler?
derek at fieldmetrix.com
Sat Feb 25 15:35:37 UTC 2012
My application is crashing occasionally and I'm having a difficult time
tracking down the error.
The app uses an in-process service which synchronizes data in the
The crashes seem pretty random and I'm I'm unable to reproduce it with any
At time the app will run for 12 hrs straight and other times it will crash
after 20 minutes.
When it crashes it locks up the app and the service and I get an ANR dialog.
Is there a Global Exception Handler that I can handle to write unhandled
error information to?
In .NET CF I have used the Global Exception Handler like this:
AppDomain.CurrentDomain.UnhandledException += OnUnhandledException;
to successfully isolate errors and I'm wondering if there is something like
that in MfA?
I've got Log.Debug statements all over in my code but there doesn't seem to
be a pattern to the crashes.
View this message in context: http://mono-for-android.1047100.n5.nabble.com/Troubleshooting-an-ANR-Global-Exception-Handler-tp5515296p5515296.html
Sent from the Mono for Android mailing list archive at Nabble.com.
More information about the Monodroid