1 Replies Last post: Jun 28, 2013 11:33 AM by Anton Makeev  
Agathe B Newbie 4 posts since
Aug 17, 2011
Currently Being Moderated

Jun 27, 2013 3:13 AM

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?

Anton Makeev JetBrains 1,294 posts since
Dec 19, 2006
Currently Being Moderated
Jun 28, 2013 11:33 AM in response to: Agathe B
Re: Break point for objc_autoreleaseNoPool

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.

More Like This

  • Retrieving data ...