exception - Xamarin.Android no stack trace in async method -
anybody maybe found workaround bug:
https://bugzilla.xamarin.com/show_bug.cgi?id=30513
?
it drives me crazy... screenshoot exception report got async method.
here 1 solution worked me. add handler in application or main activity
androidenvironment.unhandledexceptionraiser += delegate(object sender, raisethrowableeventargs args){ typeof (system.exception).getfield("stack_trace", bindingflags.nonpublic | bindingflags.instance) .setvalue(args.exception, null); throw args.exception; };
the explanation here in last post https://forums.xamarin.com/discussion/45219/stack-trace-not-captured-properly
Comments
Post a Comment