Xcode调试器停止显示本地和自变量 [英] Xcode debugger stopped displaying local and self variables

查看:138
本文介绍了Xcode调试器停止显示本地和自变量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不明白这一点,但是当我使用Xcode 3.2.3调试我的iPhone应用程序时,我再也看不到任何本地人或ivars。一切似乎都是正常的,直到昨天下午,现在我只看到全局变量和寄存器,这对我来说并不感兴趣。



其他任何人都有这样的经历?我觉得我已经疯了调试器怎么能忘记来显示变量?它的调试版本,非优化的代码生成,断点工作,变量在哪里?



我很抱歉升级到Xcode 3.2.3。这是一个错误。我没有留下深刻印象



哦,是的,我建立了一个模板应用程序,只是为了看看是否可以正常调试它,所以我正在看项目设置中的差异,

解决方案

在我的情况下,这是调试的优化。



在构建设置中,优化级别设置为最快,用于调试和释放。
我将调试切换到,解决了这个问题。




I don't understand this at all, but I can no longer see any locals or ivars when debugging my iPhone app with Xcode 3.2.3. Everything seemed normal until yesterday afternoon, and now I just see the globals and registers, which are not of much interest to me.

HAs anyone else had this experience? I feel like I have gone crazy. How can the debugger "forget" to show me variables? Its the debug build, non-optimized code generation, breakpoints work, where are the variables?

I am so sorry I upgraded to Xcode 3.2.3. What a mistake that was. I am so not impressed.

Oh, yeah, I built a template app just to see if THAT one would debug normally and it does, so I am looking at the differences in the project settings to see if that holds a clue.

解决方案

In my cases it was the optimisation for debug.

In the build settings Optimization Level was set to Fastest for both Debug and Release. I switched Debug to None and it solved the issue.

这篇关于Xcode调试器停止显示本地和自变量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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