Skip navigation.
 
mlRe: Memory management with arrays
FROM : Bill Bumgarner
DATE : Sun Feb 10 18:39:09 2008

On Feb 10, 2008, at 5:36 AM, Scott Andrew wrote:
> True.. (late night). So basically. Put a break in bar's dealloc. See 
> were the extra dealloc is cooming from.
>
> Scott


There won't be an "extra dealloc" -- once dealloc'd, the object is 
dead.  There is an extra -release coming first, but breaking on -
release won't help, either as the object is dead by the time it happens.

As I said, run the app with "-NSZombieEnabled YES".    This will cause 
a proxy to be dropped into memory in place of every dealloc'd object 
and said proxy will warn when messaged (because it should never be 
messaged).

b.bum

Related mailsAuthorDate
mlMemory management with arrays Jacob Bandes-Storc… Feb 10, 04:48
mlRe: Memory management with arrays Jonathon Mah Feb 10, 07:10
mlRe: Memory management with arrays Jacob Bandes-Storc… Feb 10, 07:12
mlRe: Memory management with arrays Andrew Merenbach Feb 10, 07:12
mlRe: Memory management with arrays Scott Andrew Feb 10, 07:16
mlRe: Memory management with arrays Bill Bumgarner Feb 10, 07:38
mlRe: Memory management with arrays ss2 cire Feb 10, 07:57
mlRe: Memory management with arrays Bill Bumgarner Feb 10, 08:02
mlRe: Memory management with arrays ss2 cire Feb 10, 08:13
mlRe: Memory management with arrays Scott Andrew Feb 10, 14:36
mlRe: Memory management with arrays Bill Bumgarner Feb 10, 18:39
mlRe: Memory management with arrays Adhamh Findlay Feb 10, 19:23