小编Kla*_*nis的帖子

如何在XCode 4中特定类的特定属性的"objectAtIndex:"方法上设置断点?

我想在特定类中的特定属性的"objectAtIndex:"方法上设置符号断点.

请参阅以下代码:

@interface Foo
...
@property (strong,nonatomic) NSMutableArray *fooArray;
...
@end
Run Code Online (Sandbox Code Playgroud)

我尝试过以下事情:

  • -[[Foo fooArray] objectAtIndex:]
  • -[Foo::fooArray objectAtIndex:]
  • -[Foo::fooArray objectAtIndex]
  • Foo::fooArray::objectAtIndex:
  • Foo::fooArray::objectAtIndex
  • Foo::fooArray::objectAtIndex()

这些解决方案都不起作用.

有什么想法可以做到这一点吗?

xcode breakpoints objective-c xcode4

10
推荐指数
3
解决办法
2194
查看次数

标签 统计

breakpoints ×1

objective-c ×1

xcode ×1

xcode4 ×1