Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
swdev:dotnet:wpf:data_binding [2017/06/27 17:15] smayr [Debugging] |
swdev:dotnet:wpf:data_binding [2017/06/27 17:22] (current) smayr [Add Tracing to Output Window] |
||
---|---|---|---|
Line 1435: | Line 1435: | ||
= Debugging = | = Debugging = | ||
+ | |||
+ | == Add Tracing to Output Window == | ||
+ | |||
+ | 1. Add '' | ||
+ | <code xml> | ||
+ | <Window x: | ||
+ | xmlns=" | ||
+ | xmlns: | ||
+ | xmlns: | ||
+ | Title=" | ||
+ | < | ||
+ | < | ||
+ | diag: | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | 2. Add a value converter to the binding, to be able to put a break point in debugger. | ||
+ | |||
+ | See more: | ||
+ | * [[https:// | ||
+ | |||
+ | == Enable Debug Output == | ||
* Enable WPF debug output. In Visual Studio, Options > Debugging > Output Window > WPF Trace Settings > Data Binding > All. | * Enable WPF debug output. In Visual Studio, Options > Debugging > Output Window > WPF Trace Settings > Data Binding > All. | ||
* Add a high TraceLevel to your binding: <code csharp> | * Add a high TraceLevel to your binding: <code csharp> | ||
Line 1446: | Line 1469: | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
+ | * [[https:// | ||