Xcode调试器停止显示本地和自变量 [英] Xcode debugger stopped displaying local and self variables
问题描述
其他任何人都有这样的经历?我觉得我已经疯了调试器怎么能忘记来显示变量?它的调试版本,非优化的代码生成,断点工作,变量在哪里?
我很抱歉升级到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屋!