Xamarin iOS调试器未达到断点 [英] Xamarin iOS debugger not hitting breakpoints

查看:79
本文介绍了Xamarin iOS调试器未达到断点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

昨天早晨,当我的调试器停止工作时,我开始使用Xamarin iOS应用程序。我可以放置断点,但是一旦应用程序启动,断点就会像红色的甜甜圈一样变得空洞。我已经多次重建/清理了项目,也擦除了obj / bin文件夹,但似乎无济于事。我无法达到断点。

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

这并不是我所有的类都遇到的,它似乎适用于使用了异步函数的类,但这不是

This doesn't happen to all my classes, it looks like it applies to classes where an async function is used however this isn't always the case.

我也从调试器窗口中收到一条消息,该消息可能自此bug以来才开始显示。

I also get a message in my debugger window which may have only started showing since this bug.

Xamarin.iOS:已成功从IDE的端口10000上接收USB连接,fd:7
Xamarin.iOS:处理中:'start profiler:no'
Xamarin.iOS:未加载Profiler(已禁用) )

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)

我正在使用Xamarin Studio 6.0.1 Build 9 Indie

I'm using Xamarin Studio 6.0.1 Build 9 Indie

推荐答案

我找到了与此问题相关的解决方案: https://stackoverflow.com/a/34211506/4627978

I have found solution related to this issue: https://stackoverflow.com/a/34211506/4627978.

还请确保您在Xamarin Studio(而非Release,AppStore等)中设置了Debug配置,并在 Project Options> Build> iOS Debug中启用了调试>启用调试

Also be sure, that you set Debug configuration in Xamarin Studio (not Release, AppStore, etc.) and enable debugging in Project Options > Build > iOS Debug > Enable debugging

不要忘记清理/重建。

这篇关于Xamarin iOS调试器未达到断点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆