• 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
Debugging strategy - exceptions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Debugging strategy - exceptions


  • Subject: Debugging strategy - exceptions
  • From: Ruotger Skupin <email@hidden>
  • Date: Wed, 9 Jul 2008 12:13:45 +0200

Hi,

this is more of an open discussion topic than a concrete question but hopefully someone has a good idea about this:

I got a bug report of a non-crash bug I cannot reproduce and where I do not even know where to start looking. The only hint is a line in the console.log:

*** -[NSCFDictionary initWithObjects:forKeys:count:]: attempt to insert nil value at objects[0] (key: NSFont)

So an exception got thrown for a pretty obvious reason, but where? Could be anywhere, even in WebKit (which we use). Is there any chance to get near the culprit without a stack trace (which I don't have)?

Even worse: There does not to be a way to switch off exceptions without switching off @synchronized() at the same time. That's not an option for the code in question.

Ruotger

_______________________________________________

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: Debugging strategy - exceptions
      • From: Phil <email@hidden>
    • Re: Debugging strategy - exceptions
      • From: Ken Thomases <email@hidden>
    • Re: Debugging strategy - exceptions
      • From: "Joan Lluch (casa)" <email@hidden>
  • Prev by Date: Re: Making a text cell in a table editable
  • Next by Date: Receive notifications about frontmost application change
  • Previous by thread: Re: counting managed objects of a certain type
  • Next by thread: Re: Debugging strategy - exceptions
  • Index(es):
    • Date
    • Thread