Binding errors not showing on output window

后端 未结 4 807
太阳男子
太阳男子 2020-12-07 01:06

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

相关标签:
4条回答
  • 2020-12-07 01:34

    Try

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

    0 讨论(0)
  • 2020-12-07 01:35

    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

    0 讨论(0)
  • 2020-12-07 01:45

    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.

    0 讨论(0)
  • 2020-12-07 01:55

    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.

    0 讨论(0)
提交回复
热议问题