Jack
Jack

Reputation: 951

Xamarin Android app dies when I attach xamarin profiler

I have an android app I am developing in C# with Xamarin. I have installed a trial version of VS ultimate so that I can get the xamarin profiler also. The problem is that whenever I attach the profiler to my app, the app dies. The debug output isn't particularly descriptive, but I see the following from the Xamarin Diagnostics output:

[D:RunShellCommand]:      emulator-5554 am force-stop com.geosolve.pavestate
[D:RunShellCommand]:      emulator-5554 setprop "debug.mono.connect" ""

I'm unsure why this is happening, or whether xamarin thinks it should be kulling the app for some reason. Any insights on why this could be happening?

Upvotes: 0

Views: 392

Answers (1)

Leo Zhu
Leo Zhu

Reputation: 14991

You could try the method below :

navigate to Debug > Windows > Exception Settings then right-clicking Common Language Runtime Exceptions , and selecting Restore Defaults

Upvotes: 1

Related Questions