Breakpoints not getting hit in Xamarin Studio

后端 未结 13 847
暗喜
暗喜 2020-12-31 02:56

My breakpoints aren\'t getting hit in Xamarin Studio. I\'m not sure if this has to do with my code, or not, but I feel as though it doesn\'t because I\'ve tried over and ove

13条回答
  •  一个人的身影
    2020-12-31 03:15

    I faced this problem in Xamarin Forms app using Visual Studio for Mac. In my case, it was happened because of debugger. Visual studio was continuously showing "Waiting for the debugger to connect to the iOS simulator..." while running in an iOS simulator. I did reset the simulator (Hardware => Erase All Content and Settings) and cleaned up the solution. Then I could do the debugging with breakpoints. Hope this helps someone.

提交回复
热议问题