XCode 7 beta调试器在断点处没有显示swift代码的值 [英] XCode 7 beta debugger not showing values of variable at breakpoint for swift code
问题描述
我已经尝试了
我仍然在XCode 7.0的最终版本中发现这个问题。原来我的桥接头需要更新,因为其中一个引用不再需要。
我发现在调试器中使用po变量,例如'po self.views'。调试器然后列出所有的错误rs在我的桥接头。
编辑:为了防止在修改任何问题后做一个干净的构建
I have tried the answers from question here but none of them helped :(
I have installed XCode 7 beta 5 and the debugger will not show values of variables when debugging swift code. It works fine in Obj-C code.
I have tried changing the Compiler Optimisation level to None and it had not effect. Any ideas?
I was still finding this an issue in the final release of XCode 7.0. It turns out my bridging header needed updating as one of the references was no longer needed in it.
I found that out by using 'po' in the debugger for one of the variables, e.g. 'po self.views'. The debugger then listed all the errors in the bridging header for me. Weird way to find out the problem but it worked.
EDIT: And just in case do a clean build after fixing any issues
这篇关于XCode 7 beta调试器在断点处没有显示swift代码的值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!