• 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: [myNSWindow setDocumentEdited:dirtyB] fail ??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [myNSWindow setDocumentEdited:dirtyB] fail ??


  • Subject: Re: [myNSWindow setDocumentEdited:dirtyB] fail ??
  • From: Jens Alfke <email@hidden>
  • Date: Tue, 15 Sep 2009 21:52:46 -0700


On Sep 15, 2009, at 4:23 PM, David M. Cotter wrote:

when i try to set a breakpoint on setDocumentEdited, the "enabled" check box shows "mixed" state, and the breakpoint is never hit. if i try to set it to "on" it goes back to mixed state
so i can't set a breakpoint :(

What are the exact steps you use to set the breakpoint?

[NSApp mainWindow] always returns nil, so i must use myNSWindow
note: i can set this same window's title and the title updates just fine.

it's a small "palette" style window, not the large title bar but the small title bar.

-mainWindow only returns NSWindows, not NSPanels. A panel can never be the 'main' window.


—Jens_______________________________________________

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


  • Follow-Ups:
    • Re: [myNSWindow setDocumentEdited:dirtyB] fail ??
      • From: "David M. Cotter" <email@hidden>
References: 
 >Re: [myNSWindow setDocumentEdited:dirtyB] fail ?? (From: "David M. Cotter" <email@hidden>)
 >Re: [myNSWindow setDocumentEdited:dirtyB] fail ?? (From: "David M. Cotter" <email@hidden>)

  • Prev by Date: Re: NSString vs. unicode encoding
  • Next by Date: Re: How to debug over-release of private Cocoa object?
  • Previous by thread: Re: [myNSWindow setDocumentEdited:dirtyB] fail ??
  • Next by thread: Re: [myNSWindow setDocumentEdited:dirtyB] fail ??
  • Index(es):
    • Date
    • Thread