Re: Why does this leak memory?
Re: Why does this leak memory?
- Subject: Re: Why does this leak memory?
- From: Matt Ball <email@hidden>
- Date: Sun, 10 Jul 2005 22:34:52 -0400
I've put breakpoints in, but it's causing a lot of trouble. Since the
crashing code gets called whenever the cell needs to redraw, it messes
some things up. I put a breakpoint in, and it gets flagged in the
debugger, so I walk it through. Then, when I click back in my window,
the breakpoint gets flagged again since the cell redraws. It's a
constant loop until I terminate the application...
- Matt Ball
On 7/10/05, Charilaos Skiadas <email@hidden> wrote:
>
> On Jul 10, 2005, at 9:02 PM, Matt Ball wrote:
>
>
> I am initializing image (the NSCell subclass's "image") in the cell init:
>
> - (id)init{ self = [super init]; if (self) { image = [[NSImage
> alloc] init]; } return self;}
>
> This looks reasonable enough.
>
>
> In the debugger, I get:
>
> Program loaded.run[Switching to process 2683 local thread
> 0xf03]Running…Program received signal: "EXC_BAD_ACCESS".
>
> Unable to disassemble objc_msgSend_rtp.
>
> And the crash happens as soon as the tableView's mouseDown: event is
> invoked.
>
> So the crash does not happen in your code? Have you put breakpoints in all
> the aforementioned methods and walked through you code?
>
>
> - Matt Ball
>
> Haris
>
>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden