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.

enter image description here

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

Popular posts from this blog

python - Healpy: From Data to Healpix map -

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -