• 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: Debugging dreams?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugging dreams?


  • Subject: Re: Debugging dreams?
  • From: Jonathon Mah <email@hidden>
  • Date: Thu, 8 Jun 2006 21:09:33 +0930

On 2006-06-08, at 21:02, Cem Karan wrote:

On a different note, I've come to realize how useful automatic garbage collection could be for debugging; if you hook the debugger and collector together, and force collection every time you step, then if you attempt to follow a dead pointer, the garbage collector will know if its pointing to anything that is live on the heap. If its pointing to something on the stack, you already have enough info to figure that one out... you could even query the collector for what pointers are currently alive, even the ones that are disconnected from anything.

Kinda off-topic, but assuming you're talking about "normal" garbage collection, you can't get a dead pointer; if an object is still referenced, it won't be collected.



Jonathon Mah email@hidden


_______________________________________________ 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: Debugging dreams?
      • From: Cem Karan <email@hidden>
References: 
 >Re: Debugging dreams? (From: Cem Karan <email@hidden>)

  • Prev by Date: Re: Debugging dreams?
  • Next by Date: Re: Debugging dreams?
  • Previous by thread: Re: Debugging dreams?
  • Next by thread: Re: Debugging dreams?
  • Index(es):
    • Date
    • Thread