【发布时间】:2015-09-24 06:46:04
【问题描述】:
我正在开发 iOS 应用程序。
我想在一个在 lldb 上有 UITableView 的页面上使用 recursiveDescription。 我移动到页面上方,然后通过暂停按钮停止应用程序。我得到了以下错误。
(lldb) po [self.workview recursiveDescription]
error: use of undeclared identifier 'self'
error: 1 errors parsing expression
(lldb) po [self.view recursiveDescription]
error: use of undeclared identifier 'self'
error: 1 errors parsing expression
self.workview 是 UITableView 的实例。 为什么'self'不能识别?
【问题讨论】:
-
当你点击暂停时谁知道上下文是什么。在要进入调试器的行设置断点
-
我明白了。我会试试的。