• 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
Debugging a drawRect call at wrong time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Debugging a drawRect call at wrong time


  • Subject: Debugging a drawRect call at wrong time
  • From: Mark Dawson <email@hidden>
  • Date: Wed, 16 Mar 2005 08:56:10 -0800

(was:debugging a dealloc call).
I have a problem with my drawRect of my main document's view (inside the NScroller) being called after my document is closed. The main result of this is a crash (because its trying to access an NSWindowController that has already been deallocated). The crash IS correct. The problem is why the drawRect is being called (it wasn't before I "improved" my code).


What I need is some idea as to how to debug this issue (where to look or where to point the debugger). I do know it is something I've done…I just don't know where to start looking…

Thanks!
_______________________________________________
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: Debugging a drawRect call at wrong time
      • From: Nick Zitzmann <email@hidden>
References: 
 >debugging a dealloc crash (From: Mark Dawson <email@hidden>)
 >Re: debugging a dealloc crash (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: ZeroLink -lm
  • Next by Date: Re: ZeroLink -lm
  • Previous by thread: Re: debugging a dealloc crash
  • Next by thread: Re: Debugging a drawRect call at wrong time
  • Index(es):
    • Date
    • Thread