Fix for debug output errors
Add the follow lines to the file App.xaml
in your WPF application
<!--
Global fix for
System.Windows.Data Error: 4 :
Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.ItemsControl', AncestorLevel='1''.