>>>> I have a document based application with a main window that, when I >>>> try to resize the window, the window just completely disappears. The >>>> application doesn't crash and I can open up another window by 'Project >>>> --> New' in the main menu. And of course if I try to resize it, it >>>> will disappear. And my debugger doesn't show anything when it >>>> disappears. Any idea how to help track this problem down? >>> >>> Break on -[NSWindow orderOut:]? >> >> I did read the docs and it would seem to behave as the orderOut: says, >> but I'm not calling orderOut: (except on a few sheets and panels, but >> not here). > > > I think Kyle is suggesting that you should break on orderOut: to catch > whatever is taking the window off screen - it might not be you. > > This could also be a memory management issue. When windows are deallocated, > they're taken off screen. Have you run the static analyzer lately? >
Well, to the debugger, I clicked on "show breakpoints", then clicked on "Double-Click for symbol" to add [NSWindow close] and also added [NSWindow orderOut], but when I ran my app and resized the main window, it disappeared without calling either of these. Any other ideas? _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
