Xamarin.Forms IOS断点没有命中 [英] Xamarin.Forms IOS Breakpoints Not Hit

查看:148
本文介绍了Xamarin.Forms IOS断点没有命中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近升级到Visual Studio的新Xamarin,从那时起,我在IOS调试期间无法再遇到断点。 Android工作得很好,很奇怪。

I recently upgraded to the new Xamarin for Visual Studio, and since then, I can no longer hit breakpoints during IOS debugging. Android works fine, strangely.

我卸载并重新安装了Visual Studio Community Edition 2017并保留了所有默认设置。以前,这已经解决了像这样的奇怪问题。

I uninstalled and reinstalled Visual Studio Community Edition 2017 and left all of the defaults intact. Previously, this has resolved odd issues like this one.

我已经阅读过几十个类似的投诉,但这些解决方案对我没用。

I have read dozens of similar complaints, but those solutions have not worked for me.

推荐答案

转到Visual Studio for Mac,解决方案资源管理器并选择项目,
项目 - >选项 - >编译器 - >调试信息,选择下拉菜单中的完整。

Go to your Visual Studio for Mac, Solution explorer and choose the project, Project->Option->Compiler->Debug information, choose "Full" in dropdown.

您需要为要调试的解决方案中的每个项目设置此完全,否则断点不会启动。

You need set this "Full" for EACH of those projects in the solution you want to debug otherwise the breakpoint will not kick in.

这篇关于Xamarin.Forms IOS断点没有命中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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