On Jul 21, 2011, at 6:40 PM, Corbin Dunn wrote:
> Log the address of your object. Then, break in gdb and do:
>
> info gc-roots
>
> Then see what is rooting it. also, try gc-references in it to see what
> references it, but roots are more important.
Thanks, Corbin. I'm trying to understand the
On Jul 21, 2011, at 1:16 PM, Ross Carter wrote:
>> Just a long shot, but does this have anything to do with the new ARC
>> (Automatic Reference Counting)?
>
> Joanna: The app uses GC, and was built long before ARC was announced.
> Everything gets collected on 10.6. I'm puzzled how ARC could af
> Just a long shot, but does this have anything to do with the new ARC
> (Automatic Reference Counting)?
Joanna: The app uses GC, and was built long before ARC was announced.
Everything gets collected on 10.6. I'm puzzled how ARC could affect GC.
> Have you used Instruments to find out why? If
> I'm looking for ideas on what might cause this behavior: an existing app that
> was compiled with 10.6 SDK runs fine on 10.6 and 10.5. When run on 10.7,
> document windows (and their window controllers and NSDocuments) do not get
> released when the window is closed.
NSDocuments on 10.7 are s
On Jul 21, 2011, at 10:29 AM, Ross Carter wrote:
> I'm looking for ideas on what might cause this behavior: an existing app that
> was compiled with 10.6 SDK runs fine on 10.6 and 10.5. When run on 10.7,
> document windows (and their window controllers and NSDocuments) do not get
> released wh
Le 21 juil. 2011 à 17:29, Ross Carter a écrit :
> I'm looking for ideas on what might cause this behavior: an existing app that
> was compiled with 10.6 SDK runs fine on 10.6 and 10.5. When run on 10.7,
> document windows (and their window controllers and NSDocuments) do not get
> released when
I'm looking for ideas on what might cause this behavior: an existing app that
was compiled with 10.6 SDK runs fine on 10.6 and 10.5. When run on 10.7,
document windows (and their window controllers and NSDocuments) do not get
released when the window is closed.
All thoughts appreciated.
___