• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: User interface unresponsive in window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: User interface unresponsive in window
      • From: Kyle Sluder <email@hidden>
References: 
 >User interface unresponsive in window (From: Jonathan Taylor <email@hidden>)
 >Re: User interface unresponsive in window (From: Quincey Morris <email@hidden>)
 >Re: User interface unresponsive in window (From: Jonathan Taylor <email@hidden>)
 >Re: User interface unresponsive in window (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: layout method not getting called on Content View
  • Next by Date: Thousands of leaked CGContext ?
  • Previous by thread: Re: User interface unresponsive in window
  • Next by thread: Re: User interface unresponsive in window
  • Index(es):
    • Date
    • Thread