Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

How to use ANRWatchDog with Xamarin.Forms

$
0
0

My app occasionally produces an ANR so I've installed the nuget package Xamarin.ANRWatchDog in the hope of finding where the issues are coming from but I'm having problems using the package so I'm hoping someone that has used it before can assist me.

I've installed the package, and started it as suggested in the ReadMe file new ANRWatchDog().Start(); (in OnCreate()). I've turned off the setting that ignores debugging (just so that I can test the package) by adding new ANRWatchDog().SetIgnoreDebugger(true).Start(); (in OnCreate()).

My hope was - running my app and getting it to hit a breakpoint, and then I was expecting some sort of listener to be fired as a result.

I'm not exactly sure what gets called during an ANR and where the stack trace can be found.

I've tried several things and cannot get it to work at all.

If someone has used this package, I would appreciate a helping hand getting this set up so that I can use it.

Cheers...


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>