iOS: Debug vs. Instruments
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