Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
swdev:dotnet:debugging [2011/04/06 09:09]
smayr [Debugging]
swdev:dotnet:debugging [2011/08/30 16:34] (current)
smayr [Debugging]
Line 2: Line 2:
  
   * 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>PresentationTraceSources.SetTraceLevel(NewBinding, PresentationTraceLevel.High);</code>+  * Add a high TraceLevel to your binding: <code csharp>System.Diagnostics.PresentationTraceSources.SetTraceLevel(NewBinding, System.Diagnostics.PresentationTraceLevel.High);</code>
   * Run application, and review log in "Output" tab in Visual Studio.   * Run application, and review log in "Output" tab in Visual Studio.
   * Add ''System.Diagnostics'' entry to ''app.exe.config'' See:   * Add ''System.Diagnostics'' entry to ''app.exe.config'' See: