Re: async NSOperation and NSOperationQueue
Re: async NSOperation and NSOperationQueue
- Subject: Re: async NSOperation and NSOperationQueue
- From: "Michael Ash" <email@hidden>
- Date: Tue, 16 Sep 2008 10:56:48 -0400
On Tue, Sep 16, 2008 at 10:12 AM, John Love <email@hidden> wrote:
> Specifically, for example, while the queue is doing its calculation, I
> cannot press CMD-N to create a new document window. To continue with this
> specific example, CMD-N does do its thing, but only after the queue
> operation's calculations are finished. Ditto for CMD-Q or quitting.
When your application becomes unresponsive, pause it in the debugger
and look at the backtraces of all the threads. (You can do this in a
single step by typing "t a a bt" at the debugger console. This is a
shortcut for "thread apply all backtrace".) This should quickly tell
you where it's stuck, and thus hopefully why it's stuck.
Mike
_______________________________________________
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