• 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: MainMenu.nib won't load - NSDocumentController shared instance - unsanity haxie?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MainMenu.nib won't load - NSDocumentController shared instance - unsanity haxie?


  • Subject: Re: MainMenu.nib won't load - NSDocumentController shared instance - unsanity haxie?
  • From: Kyle Sluder <email@hidden>
  • Date: Tue, 20 Jul 2010 09:14:12 -0700

On Tue, Jul 20, 2010 at 8:41 AM, AppleLists_Jim Witte
<email@hidden> wrote:
>        Just an idea that's probably wrong (I'm not a Cocoa programmer at all really..).  Does the user have any Unsanity APEs installed?  I can't see why an APE would be instantiating NSDocumentController (or even if it could), or why it would occur.  Would it be possible to use gdb or something else to see whenever an NSDocumentController is instantiated, and what code is being called around it?

You could break on +[NSDocumentController sharedDocumentController],
or run in the Allocations Instrument to find the first
NSDocumentController allocation event and get a backtrace from there.

Any code injected into your process could ask for the
NSDocumentController (haxies that deal with the menu bar seem like a
prime culprit), but let's not jump straight to that conclusion.

--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: 
 >Re: MainMenu.nib won't load - NSDocumentController shared instance - unsanity haxie? (From: AppleLists_Jim Witte <email@hidden>)

  • Prev by Date: Re: MainMenu.nib won't load - NSDocumentController shared instance - unsanity haxie?
  • Next by Date: WebView pagination for printing
  • Previous by thread: Re: MainMenu.nib won't load - NSDocumentController shared instance - unsanity haxie?
  • Next by thread: WebView pagination for printing
  • Index(es):
    • Date
    • Thread