我有Xcode调试器的问题.一般来说一切正常,我可以po <var>正常使用打印变量...除了在某些文件中,我无法打印任何内容,我error: Couldn't apply expression side effects : couldn't get the data for variable self
在控制台中出错.
奇怪的是,Xcode在左侧调试器面板上正确显示了值.
有没有人有想法?
谢谢!
Jul*_*ról 21
类似的观察结果,在左侧面板上都很好,但打印以相同的消息结束.快速改进是使用:
po print(variable)
Run Code Online (Sandbox Code Playgroud)
要么
po debugPrint(variable)
Run Code Online (Sandbox Code Playgroud)
结果 - 打印变量并附加相同的错误消息.
| 归档时间: |
|
| 查看次数: |
2122 次 |
| 最近记录: |