Re: Debugging bindings with -NSBindingDebugLogLevel 1
Re: Debugging bindings with -NSBindingDebugLogLevel 1
- Subject: Re: Debugging bindings with -NSBindingDebugLogLevel 1
- From: Keary Suska <email@hidden>
- Date: Sun, 08 Jul 2012 08:13:50 -0600
On Jul 7, 2012, at 10:41 PM, Rick Mann wrote:
> I tried adding '-NSBindingDebugLogLevel 1' (no quotes) to "Arguments Passed on Launch" to my scheme, and I also wrote it to the app's defaults. But I don't see any logging when I've got an error (in this case, a deliberately mis-spelled key path).
>
> Am I doing something wrong, or is this not one of the things it logs?
It is helpful to keep in mind that bindings are actually made up of three different technologies, if you will, each with their own exception handling. Invalid key paths, for instance, fall under the purview of Key-Value Coding, which would throw an undefined key exception.
HTH,
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"
_______________________________________________
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