views:

523

answers:

2

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

A: 

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.

Ben Gottlieb
EXC_BAD_ACCESS can be caused in many ways that have nothing to do with objective-c exceptions.
Jesse Rusak
A: 

cheers Ben it works :)

Ant-