How can i enable debug in android project properties (Xamarin Android)

i had the same problem. Then I :

  1. Clean the project. Also delete obj and res folder, in your project directory, to be sure.
  2. Run it in debug mode instead of release mode - refer to image below. after changing to debug mode press F5.

Run in Debug Mode


In my case, finally restart of Visual Studio helped (maybe due to a VS/Xamarin bug). (Project was configured properly.)


There are a few things you need to look at.

1) One way to double check that it is at the project level would be looking at the csproj file for the project using notepad++ or some other text editor and looking at the debugtype, debugger, debug symbols for the property group Debug|X

enter image description here

2) Make sure the setting inside the project properties that enable developer instrumentation is checked.. may be a little different in Xamarin Studio or an iOS project

enter image description here

3) If those simple properties are all set properly you may have a bigger issue related to mbd files not getting properly updated. Some people have had success clearing their debug folder and obj folders within the project so that the mbd files get rebuilt.

https://forums.xamarin.com/discussion/40832/breakpoints-not-being-hit-for-android-and-xamarin-forms