Re: NSXMLDocument freezes UI
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