//Cloud notes from my desk -Maheshk

"Fortunate are those who take the first steps.” ― Paulo Coelho

5 Essential WPF debugging tools

1) How can I trace/debug triggers? I know this is painful job if you miss something..

2) How to debug binding?
Xaml Include: xmlns:diag=”clr-namespace:System.Diagnostics;assembly=WindowsBase”
Include it in the element where binding happens- diag:PresentationTraceSources.TraceLevel=High
Example: I’ve added tracesources to Command Binding of the MenuItem

3) How can I debug application?
Use –http://joshsmithonwpf.wordpress.com/mole/

4) How can I sneak into Xaml at runtime? as like IE Dev tool bar for web developers.

5) How can visualize WPF resource? as like CSS resource checking with firebox or devtool bar in web programming?

2011-01-24 Posted by | WinFX | | Leave a comment


%d bloggers like this: