• 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: main window disappears on resize
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: main window disappears on resize


  • Subject: Re: main window disappears on resize
  • From: Kyle Sluder <email@hidden>
  • Date: Sat, 9 Oct 2010 13:55:00 -0700

On Sat, Oct 9, 2010 at 12:07 PM, Shane
<email@hidden> wrote:
> 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?

First, make sure you entered `-[NSWindow close]` and `-[NSWindow
orderOut:]` correctly. The preceding hyphens and the colon following
`orderOut` are important. You'll know that the breakpoint has been
resolved if the name of the library (AppKit) appears next to the
symbol.

If that doesn't get you where you need to be, break on -[NSWindow
dealloc], or temporarily replace your window's class with a subclass
on which you can override methods for debugging purposes.

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

References: 
 >main window disappears on resize (From: Shane <email@hidden>)
 >Re: main window disappears on resize (From: Kyle Sluder <email@hidden>)
 >Re: main window disappears on resize (From: Shane <email@hidden>)
 >Re: main window disappears on resize (From: Joar Wingfors <email@hidden>)
 >Re: main window disappears on resize (From: Shane <email@hidden>)

  • Prev by Date: Re: NSDictionary allValues not mutable
  • Next by Date: Re: confused about floats
  • Previous by thread: Re: main window disappears on resize
  • Next by thread: Re: main window disappears on resize
  • Index(es):
    • Date
    • Thread