title: ListBox.DisplayMemberPath doesn't work as expected. How can I debug this?
body: <pre><code>    &lt;ListBox ItemsSource="{Binding Path=Commands}" DisplayMemberPath="Name"/&gt;
  </code></pre>
  
  <p><code>DisplayMemberPath</code> doesn't work, and ListBox shows default <code>ToString</code> result of the <code>Commands</code> collection members. Is it possible to debug this, for example, by printing some information to Output window?</p>
  
  <p>Visual Studio 2010, WPF application project. Binding is successful, and I see all members of the <code>Commands</code>collection. But display is wrong.</p>
  
  <p>Additional information. If I change <code>Path=Commands</code> to non-existing <code>Path=Commands1</code>, I see error messages in the Output window. But there is no any information about error in <code>DisplayMemberPath</code>. </p>