Forum Xamarin.Android

Android App freezes after GC runs

I have a Xamarin.Android application that includes a native .so that I write, however I'm finding that when the GC runs I get a couple of issues:

  1. If I have the native debugger attached then all the mono signals for the GC fire off in VS. I know with gdb you can tell it not to halt on these signals, but it's pretty disruptive in VS - is there any way to have the VS debugger ignore these?
  2. After the GC has fired, regardless of whether I have the debugger attached or not, my app stops responding to UI input. I can still put a breakpoint in a loop I have running on a background thread and see that it is being hit, so the app isn't completely dead.

Any ideas?



Sign In or Register to comment.