Re: performSelectorOnMainThread fails second time through
Re: performSelectorOnMainThread fails second time through
- Subject: Re: performSelectorOnMainThread fails second time through
- From: Dave Keck <email@hidden>
- Date: Wed, 8 Dec 2010 03:35:23 -0500
> Did you edit the above quoted output at all? First, I would expect a lot more
> information to be printed for the main run loop, and second, I would
> expect to see NSEventTrackingRunLoopMode and NSModalPanelRunLoopMode
> as part of the common modes set.
That is, are you sure you entered:
po (void*)CFRunLoopGetMain()
and not:
po (void*)CFRunLoopGetCurrent()
? To clarify:
[anObject performSelectorOnMainThread: ...]
NSLog(@"Breakpoint line"); // <-- set breakpoint here
On my machine, if I set a breakpoint on the NSLog line and upon
hitting it, I enter the following at the GDB prompt (copy & paste):
po (void*)CFRunLoopGetMain()
I get the following output:
http://pastie.org/1358225
(Much longer than the output you posted, which is what I would expect
for the main thread's run loop.)
_______________________________________________
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