Debugging a drawRect call at wrong time
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