• 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
iOS: Debug vs. Instruments
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

iOS: Debug vs. Instruments


  • Subject: iOS: Debug vs. Instruments
  • From: Phillip Mills <email@hidden>
  • Date: Fri, 7 Jan 2011 17:59:33 -0500

I'm going through a process of validating retain/release logic for an iPad application.

I run a sample use case and view the results in the object allocation tool of Instruments, which tells me there is a remaining reference count of one for a particular object...the only instance of that object created in this case.  I then run the same test, using the debugger to break in that object's "dealloc" and, sure enough, it gets there.   Furthermore, when I look at the retain/release log for the object in Instruments, it doesn't show the method that triggered the final release being called.

I rather have to believe the debugger when it says it's executing the code, so does anyone know of Instruments settings or configuration that could affect whether it records a particular event?

(For the record, since most of what I see in Instruments looks perfectly fine, I think my general understanding of how to use it for this purpose is OK.)

 _______________________________________________
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

  • Prev by Date: Re: Xcode 3.2.5 keeps crashing
  • Next by Date: Why isn't Interface Builder showing any classes from my project?
  • Previous by thread: Re: Need an update for Bug- Target dependencies are essentially read-only from AppleScript until a fix is released
  • Next by thread: Why isn't Interface Builder showing any classes from my project?
  • Index(es):
    • Date
    • Thread