DebugAssert when getting a window
DebugAssert when getting a window
- Subject: DebugAssert when getting a window
- From: Darrin Cardani <email@hidden>
- Date: Mon, 9 May 2005 11:30:11 -0500
I have turned on debug libraries when debugging my Cocoa app, and I'm
seeing some odd assertions. (This is in XCode 1.5, where I've set the
executable's "Use xxx suffix when loading frameworks" to "debug".) I
don't know if they're actually the fault of something my app is
doing, or if they're harmless. For example, in my document's
[-MyDocument setupWindowsAndControllers] method, I have the following:
movieWindow = [movieWindowController window];
According to the stack trace, this call causes the window controller
to load the window from the .nib file. In doing so, it eventually
calls down into InvalWindowRect (), which calls RemoveEventFromQueue
(), which calls operator delete (void*). It is in operator delete
(void*) that I get the following assertion:
DebugAssert: HIToolbox: data != NULL
exception_ValidateWindowRgn_InvalidWindowPtr [line 1368, file
Windows/Source/WindowRegions.cp]
What exactly is this telling me? Is this anything I need to be concerned about?
Thanks,
Darrin
--
Darrin Cardani - email@hidden
President, Buena Software, Inc.
<http://www.buena.com/>
Video, Image and Audio Processing Development
_______________________________________________
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