Break point for objc_autoreleaseNoPool

I'm getting exception for No autorelease pool available when running the app on the simulator from Appcode ( class __NSArrayI autoreleased with no pool in place - just leaking - break on objc_autoreleaseNoPool() to debug).
The problem arises only when running with appcode-simulator, not appcode-phone or xcode-simulator.

Is there a way to add a C++ break point for objc_autoreleaseNoPool?

1 comment

Currently, AppCode doesn't fully support symbolic breakpoint and debugging library code. Here is the corresponding request.
You can easily add such a breakpolint using GDB/LLDB console, though, with 'b objc_autoreleaseNoPool' command.

0

Please sign in to leave a comment.