• 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: NSXMLDocument freezes UI
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSXMLDocument freezes UI


  • Subject: Re: NSXMLDocument freezes UI
  • From: Mike Blaguszewski <email@hidden>
  • Date: Tue, 28 Aug 2007 21:45:17 -0400

On Aug 28, 2007, at 9:32 PM, Jesse Grosjean wrote:

The app is created from the Cocoa-Document based template. The only change that I made was to add an application delegate that implements applicationWillFinishLaunching: and tries to open a NSXMLDocument within that method.

P.S here's what the stack looks like when I pause the debugger.
<snip>

I haven't looked at your test app, but the stack trace you give is completely normal for an app that's idle and waiting for events.


What would explain things is if you were getting an exception from NSXMLDocument. Throwing an exception in - applicationWillFinishLaunching: would probably leave the app in a semi-uninitialized state, even if it wasn't technically "hung". Have you checked the Run Log or Debugger Console for exception messages? You can also set a breakpoint on -[NSException raise] to break into the debugger when this happens.

--
Mike Blaguszewski / Cocoa Hacker / Ambrosia Software, Inc.



_______________________________________________

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: 
 >NSXMLDocument freezes UI (From: Jesse Grosjean <email@hidden>)
 >Re: NSXMLDocument freezes UI (From: Jonathon Mah <email@hidden>)
 >Re: NSXMLDocument freezes UI (From: Jesse Grosjean <email@hidden>)

  • Prev by Date: NSXMLDocument Crashing
  • Next by Date: seemingly simple Core Data fetch question
  • Previous by thread: Re: NSXMLDocument freezes UI
  • Next by thread: Re: NSXMLDocument freezes UI
  • Index(es):
    • Date
    • Thread