• 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: Debugging ""Cocoa Bindings: Cannot create ... from object"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugging ""Cocoa Bindings: Cannot create ... from object"


  • Subject: Re: Debugging ""Cocoa Bindings: Cannot create ... from object"
  • From: Fritz Anderson <email@hidden>
  • Date: Wed, 13 Jun 2012 08:05:39 -0500 (CDT)
  • Importance: Normal

On Tue, June 12, 2012 9:28 pm, Keary Suska wrote:
> I saw this error in my console output and eventually figured out the
issue, but I want to be able to catch the exception. I would have never
known it was even there if I hadn't been inspecting the console for
other reasons. Is there a way to get Xcode to stop on the exception? At
least I would know it was there, and have a better chance of solving it.

Also, that gift of a beneficent Providence, TN2124, Mac OS X Debugging
Magic, shows a way to better insight into bindings issues:

> The NSBindingDebugLogLevel preference, introduced in Mac OS X 10.4,
controls AppKit's response to binding problems. To receive useful logs
about a binding problem (rather than, say, an undefined key exception),
set this preference to 1. This is useful when trying to find a
misconfigured binding in a large, bindings-rich application.

Use the Scheme editor, for the Run action (I assume you're getting this on
Run), and switch to the Arguments panel. Add an argument:

	-NSBindingDebugLogLevel 1

	— F

--
Fritz Anderson
Xcode 4 Unleashed - x4u.manoverboard.org
Fathers' Day. Need I say more?


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Debugging ""Cocoa Bindings: Cannot create ... from object"
      • From: Keary Suska <email@hidden>
References: 
 >Debugging ""Cocoa Bindings: Cannot create ... from object" (From: Keary Suska <email@hidden>)

  • Prev by Date: Re: OS constant cause "32-bit RIP relative reference out of range" linker error on x64
  • Next by Date: Re: Xcode 4.3.3 problem with framework search paths
  • Previous by thread: Re: Debugging ""Cocoa Bindings: Cannot create ... from object"
  • Next by thread: Re: Debugging ""Cocoa Bindings: Cannot create ... from object"
  • Index(es):
    • Date
    • Thread