• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: _NSZombie Breakpoints don't Resolve (Xcode 3.2.2)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: _NSZombie Breakpoints don't Resolve (Xcode 3.2.2)


  • Subject: Re: _NSZombie Breakpoints don't Resolve (Xcode 3.2.2)
  • From: "Paul Sanders" <email@hidden>
  • Date: Sun, 20 Jun 2010 14:40:05 +0100

Sorry, yes of course you have.  I turned up this post which supports what Joar is saying:
 
http://www.cocoabuilder.com/archive/cocoa/221417-nszombie-methodsignatureforselector-not-working.html
 
It seems the only way forward is to somehow provoke the crash with Zombies enabled.  Or you could try the dreaded, glacial Guard Malloc, although it's a shame it's so hopelessly slow.   MallocScribble might also be of some value:
 
http://developer.apple.com/mac/library/documentation/Performance/Conceptual/ManagingMemory/Articles/MallocDebug.html
 
But you probably know all this already so I'll shut up now.
 
Regards,
 
Paul Sanders.
 
----- Original Message -----
From: Jerry Krinock
To: XCode Users
Sent: Sunday, June 20, 2010 2:13 PM
Subject: Re: _NSZombie Breakpoints don't Resolve (Xcode 3.2.2)

On 2010 Jun 20, at 03:03, Paul Sanders wrote:

> Have you tried setting breakpoints on malloc_error_break and objc_exception_throw?  You can do this from the debugger console window (with the 'b' command) and doing so will not change the behaviour of your application in the way that enabling zombies does.

Thank you, Paul.  Yes, I have set those breakpoints and, depending on how the crash occurs, sometimes they break.  But, in my brain, that doesn't allow me to identify the dead object which received the message or whatever, since it's already been overwritten.  Hence enabling zombies.

I'm still working on this, although currently on a slight detour.

Regarding the screenshot in my first post, showing that -[_NSZombie whatever] breakpoints always appear unresolved…  Joar said that these breakpoints are unnecessary today.  Howevever, if you *do* set one of those breakpoints like I did, is it expected behavior that they appear in Xcode as unresolved?

That seems odd.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: _NSZombie Breakpoints don't Resolve (Xcode 3.2.2)
      • From: Jerry Krinock <email@hidden>
References: 
 >_NSZombie Breakpoints won't Resolve (Xcode 3.2.2) (From: Jerry Krinock <email@hidden>)
 >Re: _NSZombie Breakpoints won't Resolve (Xcode 3.2.2) (From: Joar Wingfors <email@hidden>)
 >Re: _NSZombie Breakpoints won't Resolve (Xcode 3.2.2) (From: Jerry Krinock <email@hidden>)
 >Re: _NSZombie Breakpoints won't Resolve (Xcode 3.2.2) (From: "Paul Sanders" <email@hidden>)
 >Re: _NSZombie Breakpoints don't Resolve (Xcode 3.2.2) (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: _NSZombie Breakpoints don't Resolve (Xcode 3.2.2)
  • Next by Date: Re: _NSZombie Breakpoints don't Resolve (Xcode 3.2.2)
  • Previous by thread: Re: _NSZombie Breakpoints don't Resolve (Xcode 3.2.2)
  • Next by thread: Re: _NSZombie Breakpoints don't Resolve (Xcode 3.2.2)
  • Index(es):
    • Date
    • Thread