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
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 mails | Author | Date |
|---|---|---|
| Jacob Bandes-Storc… | Feb 10, 04:48 | |
| Jonathon Mah | Feb 10, 07:10 | |
| Jacob Bandes-Storc… | Feb 10, 07:12 | |
| Andrew Merenbach | Feb 10, 07:12 | |
| Scott Andrew | Feb 10, 07:16 | |
| Bill Bumgarner | Feb 10, 07:38 | |
| ss2 cire | Feb 10, 07:57 | |
| Bill Bumgarner | Feb 10, 08:02 | |
| ss2 cire | Feb 10, 08:13 | |
| Scott Andrew | Feb 10, 14:36 | |
| Bill Bumgarner | Feb 10, 18:39 | |
| Adhamh Findlay | Feb 10, 19:23 |






Cocoa mail archive

