>> @property (weak) GSOutlineWindowController *mainWindowController;
>>self.mainWindowController = [[GSOutlineWindowController alloc]

initWithWindowNibName : @"GSOutlineWindowController"];
    [self.mainWindowController showWindow : self];

Sadly, nothing changes after the syntax changes.  @property (strong) also
fails.

>> A better way to investigate such issue is using the memory debugging
tools in Instrument IMHO.
>> That would let you see all stack traces of retain/release calls.

We tried that last week.  The problem with ARC debugging is that
breakpoints in dealloc()
happen long after the release.  You know it died, but not when or how.
Sometimes we turn off ARC for one class with compiler directives, then
breakpoint on release.
But Apple code does many retains and releases, all in Assembly code.  It
probably wouldn't
be too hard to figure out if source were available, but it's not.  We used
to step through PowerPlant
code a lot, and found/fixed several bugs for them.

Casey McDermott
TurtleSoft.com
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com
  • Re: ARC Alex Zavatone via Cocoa-dev
  • Re: ARC Ben Kennedy via Cocoa-dev
  • Re: ARC Alex Zavatone via Cocoa-dev
    • Re: ARC Turtle Creek Software via Cocoa-dev
  • Re: ARC Jens Alfke via Cocoa-dev
    • Re: ARC Turtle Creek Software via Cocoa-dev
      • Re: ARC Gary L. Wade via Cocoa-dev
      • Re: ARC Jens Alfke via Cocoa-dev
        • Re: ARC Turtle Creek Software via Cocoa-dev
          • Re: ARC Jean-Daniel via Cocoa-dev
            • Re: ARC Turtle Creek Software via Cocoa-dev
            • Re: ARC Owen Hartnett via Cocoa-dev
      • Re: ARC Uli Kusterer via Cocoa-dev
  • Re: ARC Roland King via Cocoa-dev

Reply via email to