Thursday, April 28, 2011

Can a breakpoint be set for EXC_BAD_ACCESS?

Just as you can set a breakpoint for objc_exception_throw, is there an equivalent for EXC_BAD_ACCESS?

From stackoverflow
  • EXC_ BAD_ ACCESS is an exception (EXCeption_ BAD_ ACCESS). If you set a breakpoint on objc_exception_throw, you'll get those. You might want to look at NSZombieEnabled, as you're probably trying to access a dealloc'd object.

    Jesse Rusak : EXC_BAD_ACCESS can be caused in many ways that have nothing to do with objective-c exceptions.
  • cheers Ben it works :)

0 comments:

Post a Comment

Note: Only a member of this blog may post a comment.