wpfeventsxamlbinding

Capturing WPF Runtime BindingExpression errors


We can all see Runtime BindingExpression errors in the Visual Studio Output Window. But can we capture these events in the running app itself? I'm hearing about WPF tracing... does this have something to do with this facility? Also, the System.Windows.Data namespace contains no documented events (like a BindingExpression error event), why?


Solution

  • The answer to your first question is "not really."

    [There was a blog post from 2009 that went more into the details of debugging this situation, but it no longer exists and so the link has been removed from this answer.]