• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Why does this leak memory?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why does this leak memory?


  • Subject: Re: Why does this leak memory?
  • From: Charilaos Skiadas <email@hidden>
  • Date: Sun, 10 Jul 2005 21:41:35 -0500

On Jul 10, 2005, at 9:34 PM, Matt Ball wrote:

I've put breakpoints in, but it's causing a lot of trouble. Since thecrashing code gets called whenever the cell needs to redraw, it messessome things up. I put a breakpoint in, and it gets flagged in thedebugger, so I walk it through. Then, when I click back in my window,the breakpoint gets flagged again since the cell redraws. It's aconstant loop until I terminate the application...

Well, ok, I guess that method has no problem then, since it does not crash :-)
Then remove the breakpoint from that method.
The point is that we need to figure out which one of your methods gets called right before the app crashes.
What i like doing, not sure if it is the most efficient hting or not, is to put an NSLog at the entry and exit of every method I have, stating the name of hte method and whether it is entering or exiting. It might help you pinpoint the problem a bit more.


Why do you click back in your window?
Does your app crash just when you start it up, or do you have to do something to the UI before it does?
- 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
  • Follow-Ups:
    • Re: Why does this leak memory?
      • From: Matt Ball <email@hidden>
    • Re: Why does this leak memory?
      • From: Matt Ball <email@hidden>
References: 
 >Why does this leak memory? (From: Matt Ball <email@hidden>)
 >Re: Why does this leak memory? (From: Charilaos Skiadas <email@hidden>)
 >Re: Why does this leak memory? (From: Matt Ball <email@hidden>)
 >Re: Why does this leak memory? (From: Zach Wily <email@hidden>)
 >Re: Why does this leak memory? (From: Matt Ball <email@hidden>)
 >Re: Why does this leak memory? (From: Charilaos Skiadas <email@hidden>)
 >Re: Why does this leak memory? (From: Matt Ball <email@hidden>)
 >Re: Why does this leak memory? (From: Charilaos Skiadas <email@hidden>)
 >Re: Why does this leak memory? (From: Matt Ball <email@hidden>)

  • Prev by Date: Re: Documentation frustrations
  • Next by Date: Re: Why does this leak memory?
  • Previous by thread: Re: Why does this leak memory?
  • Next by thread: Re: Why does this leak memory?
  • Index(es):
    • Date
    • Thread