14

My output window does not show binding errors for my project. However on a colleagues machine, binding errors are displayed in the output window.

Any ideas on how to switch this on on my machine (the source code is identical on both machines so I'm guessing it is an IDE setting).

H.B.
  • 166,899
  • 29
  • 327
  • 400
DermFrench
  • 3,968
  • 13
  • 43
  • 70

4 Answers4

20

Try

Tools -> Options -> Debugging -> Output Window -> WPF Trace Settings -> Data Binding

Tim Rogers
  • 21,297
  • 6
  • 52
  • 68
  • If if I set to Error or Warning, I still see nothing, while my colleague sees errors on same settings with same source? – DermFrench Jan 13 '12 at 14:42
  • 2
    That didn't work for me either, but I'm using a different machine now, so it works in there. – DermFrench Jan 24 '12 at 09:59
  • 2
    Use `Tools -> Options -> Debugging -> Output Window -> WPF Trace Settings -> Data Binding->All` – Moumit Aug 09 '17 at 20:01
6

I had the same problem and making the appropriate changes (Tools -> Options -> Debugging -> Output Window -> WPF Trace Settings -> Data Binding), I still couldn't see any DataBinding issues in the Output window. The problem was I found this line in my App.cs code

System.Diagnostics.PresentationTraceSources.DataBindingSource.Switch.Level = System.Diagnostics.SourceLevels.Critical;

This option was obviously overwriting the settings I made in the Options menu.

Peter
  • 364
  • 5
  • 17
3

If the following solution doesn't work for you:

Tools -> Options -> Debugging -> Output Window -> WPF Trace Settings -> Data Binding

Try to right click on the Output area of the Output Window, and Select all output messages you want, and especially Program Output option.

All output messages

XMight
  • 1,991
  • 2
  • 20
  • 36
2

In some settings configurations, first-chance exception notifications are displayed in the Immediate window.

To toggle first-chance exception notifications in the Immediate window On the View menu, click Other Windows, and click Output.

Right-click on the text area of the Output window, and select or deselect Exception Messages.