Debugging MVVMCross PCL in MonoAndroid projects (VS2010)

I am developing some applications using the MvvmCross framework, and I am having some problems with PCL debugging when running "Droid" projects in VS2010.

I downloaded sample applications from GitHub / MvvmCross and tried to debug PCL via Droid projects. When an application is deployed on a device (emulator or physical), there are no breakpoints inside the PCL code. If I use a WP7 project, I can debut through PCL code.

I have installed VS2010 and VS2010. I followed all the instructions at http://slodge.blogspot.co.uk/2012/09/mvvmcross-vnext-portable-class.html and http://jpobst.blogspot.co.uk/2012/04/mono-for -android-portable-libraries-in.html .

I was looking for a message related to this problem, and I did not find anything related to PCL debugging in VS2010.

I know this is a rather vague message, but I'm just trying to find someone else who has the same problem and hopefully can help me.

+6
source share
1 answer

In my experience, the MonoDroid debugger often breaks down - and PCL support is obviously also โ€œnascentโ€ at best.

Developers can help you with tips such as "make sure you have a quick deployment and a general (debugging) SDK," but basically you need to ask Xamarin to fix it.

My advice is to register and troubleshoot Xamarin through their forums, through bugzilla and through any customer support contract you have.

In the meantime, without the MonoDroid debugger, it goes back to WinRT and WP (and MonoTouch on Mac) to debug your PCLs - or go back to the "old skool" methods, for example add tracing

+2
source

All Articles