How to set a breakpoint on “objectAtIndex:” method of a specific property in a specific class in XCode 4?

前端 未结 3 1998
日久生厌
日久生厌 2021-02-20 13:51

I would like to set a symbolic breakpoint on \"objectAtIndex:\" method of a specific property in a specific class.

See the following code :

@interface Fo         


        
3条回答
  •  余生分开走
    2021-02-20 14:12

    I am not at my Mac, so I cannot try this myself, but how about:

    breakpoint set -n "-[[Foo fooArray] objectAtIndex:]" 
    

提交回复
热议问题