Sebi
Sebi

Reputation: 3979

Can't debug my Xamarin Code-Base

Iam new to Xamarin but i know building Applications with VS and C#. I started a small Android Project and got some problems with debugging. My Solution contains two Projects:

  1. Android Project (for the Android-App)
  2. Portable Library (for Business-Logic, thought this could be clever if i try iOS App later)

If i start the Application the pre-defined Click counter works well. But if i use breakpoint and step through code, i can't step throug portable library methods. I just know it from windows forms. There i can easily step through all code in my solution.

Visual Studio tells me: Border is not in Modul. Can't find current Stackborder in loaded Modul.

Is there something wrong with this project architecture? Or iam missing some options for debugging?

Upvotes: 0

Views: 127

Answers (2)

Softlion
Softlion

Reputation: 12625

Yes it is a bug in the latest stable version. I already reported it when it was still alpha.

Upvotes: 0

Tobias Straub
Tobias Straub

Reputation: 153

You are not alone! - This is a common issue with Xamarin 4. There is at the moment no general solution. Maybe this post can help you. You can also try this solution. There are some Tickets open in Bugzilla, so I think this will be fixed in one of the next updates. Stay tuned!

Upvotes: 1

Related Questions