On 05/09/2013, at 1:52 PM, Jonathan Taylor <[email protected]> 
wrote:

> That suggestion for a breakpoint is a great one. Sadly the condition you 
> quoted doesn't seem to be parsed correctly by the debugger, even with 
> casting. Even just "po (NSThread*)[NSThread currentThread]" fails on my 
> machine.

Hmm, works OK for me.

> Fortunately, though, there were only a couple of dozen hits on the breakpoint 
> per iteration of the code, and sure enough it immediately pinpointed a case 
> where I was erroneously calling willChangeValueForKey from a secondary 
> thread, which was causing a GUI update as a side-effect.


Glad you found the problem ;-)

--Graham


_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to