PDA

View Full Version : Problems with NSZombieEnabled




Sbrocket
Apr 1, 2008, 12:38 AM
Hello there once again. Hopefully this question won't be something I'll end up answering myself again (or hopefully it will be?), but I don't think I'm gonna figure this out.

I've got NSZombieEnabled turned on and I'm trying to place GDB breakpoints like so according to some information I found about making use out of it: "fb -[_NSZombie init]", "fb -[_NSZombie release]", etc. However, GDB only seems to create pending breakpoints which are never resolved.

Any ideas?



lee1210
Apr 1, 2008, 12:44 AM
try rbreak, the names of class methods might be getting mangled as far as gdb knows.

-Lee

Sbrocket
Apr 1, 2008, 01:11 AM
Nah, doesn't seem to work. So perplexing.

Sbrocket
Apr 1, 2008, 04:19 PM
Is it possible that the way _NSZombie works has changed since the articles about using it were written? I know there must be other people here that use it, it seems to be an invaluable debugging tool.