Hi,
I have just updated my HTC One X to:
Android version 4.2.2
HTC Sense version 5.0
Software Number 4.18.206.4
HTC SDK API Level 5.41
and everytime my app hits a breakpoint in either Visual Studio 2010 or Xamarin Studio, it causes an error 'System Null Exception:Loading' and then crashes the app. If i run this on an older android version it runs and breaks fine.
If I remove all break points and run on the new android version, it all works fine. its everytime I hit a break point.
Here is the few lines of code from my output when the break point is hit.
Mono.Android.VisualStudio.MonoAndroidPackage Verbose: 0 : AD7DebugExceptionEvent ctor: An unhandled exception occured.
Mono.Android.VisualStudio.MonoAndroidPackage Verbose: 0 : AD7DebugExceptionEvent GetException: An unhandled exception occured.
Mono.Android.VisualStudio.MonoAndroidPackage Verbose: 0 : AD7DebugExceptionEvent GetException: An unhandled exception occured.
Mono.Android.VisualStudio.MonoAndroidPackage Verbose: 0 : AD7DebugExceptionEvent GetExceptionDescription: An unhandled exception occured.
Hope you guys can help.
Thanks.
Sam
Posts
Any ideas guys?
Right just in case anybody else is having the problem...i fixed it by using Soft break points, however I need to do this everytime my machine starts up.
Run the following in command prompt
adb shell setprop debug.mono.env MONO_DEBUG=soft-breakpoints
Found the solution from THIS thread
Thanks, I had the exact same problem. The command prompt thing worked. The adb tool can be found here:
<sdk>/platform-tools/
. On Windows usuallyC:\Users\you\AppData\Local\Android\android-sdk\platform-tools