Xamarin iOS debugger misses breakpoints

Yesterday morning, when I started working on the Xamarin iOS application, when my debugger stopped working. I can place breakpoints, but as soon as the application starts, the breakpoints will become hollow, like a red donut. I rebuilt / cleaned the project several times, I also erased the obj / bin folders and nothing worked. I can't hit breakpoints.

This does not happen with all my classes, it seems that this applies to classes where the asynchronous function is used, but this is not always the case.

I also get a message in my debugger window that may have just begun with this error.

Xamarin.iOS: Successfully received USB connection from the IDE on port 10000, fd: 7 Xamarin.iOS: Processing: 'start profiler: no' Xamarin.iOS: Profiler not loaded (disabled)

I am using Xamarin Studio 6.0.1 Build 9 Indie

+1
source share
2 answers

I found a solution related to this problem: fooobar.com/questions/497898 / ....

Also make sure that you set up Debug configuration in Xamarin Studio (not Release, AppStore, etc.) and enable debugging in Project Settings> Build> iOS Debugging> Turn on Debugging

In the end, don't forget Clean / Rebuild.

+2
source

I had the same problem and got it after changing the project property Linker Behavior to Do not Link.

Make sure you have updated your iOS SDK to what you have in Xamarin.

+1
source

All Articles