Breakpoints do not fall on Xamarin Android

Yesterday I upgraded to Xamarin.Android 7.3.0, and now none of my control points hit. I tried many things to try to get breakpoints working again, but no luck:

  • Cleaning solution
  • Removing bin / obj folders
  • Closing and reopening Xamarin Studio
  • Rebooting my Mac
  • Create a new Android project
  • Return to Xamarin.Android 7.2, Xamarin.Mac 3.2 and Xamarin Studio 6.2.1.

It never occurred to me that even after creating a completely new project and launching it with rolling versions of Xamarin, it still does not work. This should exclude that this is code, and exclude it as an Xamarin update, but it still doesn't work.

Pdb files are generated, so something. I have my configuration for Debug-Dev, it has the Debug option set to Full and Define Symbols:

DEBUG;__ANDROID__

I'm not sure what else to try at this moment, help will be appreciated!

enter image description here

enter image description here

+4
source share
2 answers

This seems to be a bug related to version 5.0 upgrade. Bugzilla Solution

An alternative possible temporary workaround for users who have encountered this problem after the upgrade (as opposed to a new installation on a new machine)

(For users who may want to continue to use Xamarin Studio 6.3 for a while, before completely switching to Visual Studio for Mac.)

  • "Project > Active Runtime" "Mono 4.8.0 (8f6d0f6) (/Library/Frameworks/Mono.framework/Versions/4.8.0)".

  • Android.

Mono 5.0 Mono 4.8 Mono 5.0. Xamarin.Android Mono 4.8, .mdb , Xamarin Studio . , Xamarin.Android .pdb, Xamarin.Android 7.3, ( ) , .

+5

, , "@", , .

+1

Source: https://habr.com/ru/post/1676937/


All Articles