Forum Visual Studio
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

Debug Prism app with Xamarin Live Player

I'm trying to use Xamarin Live Player 1.5.196 (696) on Android, to debug a XF Prism.DryIoc app.

It works well for preview, but when I try to debug, I get the following error on the device:

Visualization Error: Object reference is not set to an instance of an object (NullReferenceException).

I could manage to retrieve any StackTrace or other info, but when I hit Ctrl+Alt+Break (Break All), it stops in the PCL's (.NetStandard) App class:

It says:

Unable to cast object of type 'System.RuntimeType' to type 'Mono.Debugger.Soft.TypeMirror'. I don't exactly what it is at all, it's on of the inner variables in 'null', the Application is initialized with.



Best Answer

  • ShimmyWeitzhandlerShimmyWeitzhandler USMember ✭✭✭
    Accepted Answer

    I got an official answer from the Prism ninjas (@BrianLagunas), that this is a known issue that's not planned to fix soon.
    So forget about live player, just stick to emulators.


Sign In or Register to comment.