Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ANN] gandbug 0.1 (was Re: The problem with bindings)



After a bunch of "snooping" around at undocument, and otherwise "private/don't even think of shipping with this code/bound to change whenever we want/will break in the next release/we really mean it" corners of AppKit, I've come up with a little loadable bundle that will add the following debugging capabilities to your app at runtime (dumping to the console):

Dump the visual heirachy at runtime.
Show all the bindings used by that visual heirarchy
Show all objects that have values which have observers bound to them
"Trace" all the observer value notifications for above.

Note that this hasn't been extensively tested (and has some problems with array controllers, but seems to work OK for user default controllers and generic object controllers), and will probably cause your app to crash at some point, but may otherwise provide useful runtime debugging information for bindings.

Download at <http://projects.gandreas.com/gandbug>


--
Glenn Andreas email@hidden
mondo blobbo, Cythera, Theldrow, oh my!
Mad, Bad, and Dangerous to Know
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >The problem with bindings (From: Drew McCormack <email@hidden>)
 >Re: The problem with bindings (From: James DiPalma <email@hidden>)
 >Re: The problem with bindings (From: Scott Anguish <email@hidden>)
 >Re: The problem with bindings (From: Kay Roepke <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.