Re: User interface unresponsive in window
Re: User interface unresponsive in window
- Subject: Re: User interface unresponsive in window
- From: Jonathan Taylor <email@hidden>
- Date: Fri, 17 Apr 2015 10:16:38 +0100
>> Am I right in thinking that when running under Xcode any drawing errors will be logged to the Xcode console?
>
> No, not unless they’re actually exceptions. Messages from other processes are only going to appear in the system log.
OK, thanks for your suggestion about checking the system log then - I will look out for that.
> With puzzling, intermittent errors like this, I often find that reading your own code carefully may be more productive than going to heroic debugging extremes. The trick is not to prejudge *where* in your code you should look. (Don’t be the person looking underneath the street light for a dropped quarter because “that’s where the light is”.)
That's a fair suggestion, but taken in its most general sense that is a near-impossible task. There are 100-odd source files in the project, etc, and just "code-read the project and look for some bug" is a non-starter. Are you effectively saying that you agree with my hypothesis that the cause is GUI-related code being executed on a non-main thread? If you or others have definitely seen that cause problems of this sort in the past, then I'll certainly do a second more thorough read-through of any code that could possibly be relevant...
Cheers
Jonny
_______________________________________________
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