Add a symbolic breakpoint on a selector in Xcode

后端 未结 5 2223
滥情空心
滥情空心 2021-02-20 07:30

There\'s a bug in my app which shows up with the following (partial) stacktrace:

2011-11-25 01:55:59.760 Events2[6650:403] -[Event boolValue]: unrecognized selec         


        
5条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-20 08:24

    I would set an Symbolic breakpoint with this symbol -[NSObject doesNotRecognizeSelector:] enter image description here

    which will help us to capture situations where a selector is being invoked against the wrong object.

提交回复
热议问题