如何在调试器中查看[fetchedResultsController sectionIndexTitles]
的值,而无需更改代码?查看方法调用的返回值
return [fetchedResultsController sectionIndexTitles];
目前,我使用的伎俩添加tempory变量s
,然后使用“打印‘S’的描述”命令。但是这种方法需要我更改代码,所以不方便。
NSArray *s= [fetchedResultsController sectionIndexTitles];
return s;
类似,这将是非常有益的,能够看到下面的语句的[a method1]
值:
[b [a method1]]
好了,让我们只说了WWDC 2012条的视频保存为你找出答案的一个 – 2012-07-21 10:07:03
是的,看#412&#415。 – robertvojta 2012-07-21 10:14:27