Problems with NSZombieEnabled

Discussion in 'Mac Programming' started by Sbrocket, Mar 31, 2008.

  1. macrumors 65816

    Sbrocket

    Joined:
    Jun 3, 2007
    Location:
    /dev/null
    #1
    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?
     
  2. macrumors 68040

    lee1210

    Joined:
    Jan 10, 2005
    Location:
    Dallas, TX
    #2
    try rbreak, the names of class methods might be getting mangled as far as gdb knows.

    -Lee
     
  3. thread starter macrumors 65816

    Sbrocket

    Joined:
    Jun 3, 2007
    Location:
    /dev/null
  4. thread starter macrumors 65816

    Sbrocket

    Joined:
    Jun 3, 2007
    Location:
    /dev/null
    #4
    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.
     

Share This Page