开发者

Debugging __NSAutoreleaseFreedObject():

开发者_StackOverflowis there anyway to add a breakpoint for the following warning:

* __NSAutoreleaseFreedObject(): release of previously deallocated object (0x1003e1720) ignored

I've tried adding an exception breakpoint on objective c exceptions without success.


The __NSAutoreleaseFreedObject symbol is for the _NSAutoreleaseFreedObject function (single underscore). The underscore means it's private (certainly a static function).

So you won't be able to place a breakpoint, as the function is not exported.

You may try to define's the function's prototype in some of your header file:

void __NSAutoreleaseFreedObject( void * o );

The, you should be able to set a breakpoint from GDB:

break __NSAutoreleaseFreedObject


try a symbolic breakpoint for that symbol

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜