title: nsarraycontroller and bindings: how to debug?
body: <p>I have an NSXMLNode containing a series of child node and I would like to show the attribute of those child nodes in an NSTableView using NSArrayController and bindings.</p>
  
  <p>I'm new to NSArrayControllers and bindings so I decided to start by populating the table with just the children of the node. It is very similar to Apple's example "XMLBrowser" although I can manage to get mine working.</p>
  
  <p>My view controller has a property holding the NSXMLNode which is populated in the initWithNibName method. From here the steps I followed are:</p>
  
  <ol>
  <li><p>Add an NSArrayController to the xib file</p></li>
  <li><p>Set its class name to NSXMLNode and add "name" to the keys</p></li>
  <li><p>Bind it to the file owner (the ViewController) and add ".children" to the Model-Key-Path</p></li>
  <li><p>I bind my table column to the Array Controller.</p></li>
  <li><p>Set the Controller Key to "arrangedObjects" and the Model-Key-Path to "name"</p></li>
  </ol>
  
  <p>I checked through breakpoints and NSLog that my NSXMLNode has meaningful children but despite that the TableView doesn't get populated.</p>
  
  <p>Do you see any flaw with my steps? Is there anything I'm missing?</p>
  
  <p>Also how do you debug these apps? There is very little code to place breakpoints and NSLogs, how can I know what's going on?</p>