XCode调试器:为什么它只显示我的汇编器?

XCode调试器:为什么它只显示我的汇编器?,第1张

概述我刚刚开始与Cocoa开发在xcode,做hello世界的例子。我到达“ runtime debugging”的第6步,这是 Using the Step Over button in the debugger toolbar, begin stepping through the code. As each line of code executes, you can examine the p 我刚刚开始与Cocoa开发在xcode,做hello世界的例子。我到达“ runtime debugging”的第6步,这是

Using the Step Over button in the deBUGger toolbar,begin stepPing through the code. As each line of code executes,you can examine the program’s state. The value of a variable is sometimes drawn in red to indicate that the value was modifIEd in the last step.
Notice that the deBUGger pauses before executing the indicated line. After each pause,you can add additional breakpoints or choose DeBUG > Restart to terminate the application and start a new deBUGging session.

现在我一直在拉我的头发在过去一个小时是事实,这个调试器将只显示我的程序集代码。我可以手动选择我的源代码文件,但是一旦我点击“跳过”我回到汇编视图。我不能为我的生活搞清楚如何关闭汇编器,并让它显示我的源代码!

解决方法 我知道这篇文章是一百年了,但是如果任何人想知道如何解决这个问题在最近的Xcode版本(相对于Xcode 3),你会发现适当的设置标签总是显示反汇编在调试>调试工作流在Xcode 6及以上。确保未选中该选项。

在Xcode 5中,该选项被标记为“在调试下调试显示反汇编”>“调试工作流”。确保“未显示调试时显示拆卸”。

回到Xcode 4,在产品>调试工作流下找到显示反汇编调试设置。再次,确保该选项保持未选中状态。

这也让我疯了。

注意:上面的信息对Xcode 8仍然有效。我已经应用更新到这个答案,因为新版本的Xcode已经发布。幸运的是,该选项从Xcode 6(到目前为止)保持不变。

总结

以上是内存溢出为你收集整理的XCode调试器:为什么它只显示我的汇编器?全部内容,希望文章能够帮你解决XCode调试器:为什么它只显示我的汇编器?所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/web/1045895.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-24
下一篇 2022-05-24

发表评论

登录后才能评论

评论列表(0条)

保存