//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..
http://www.wpfmentor.com/2009/01/how-to-debug-triggers-using-trigger.html

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.
http://blois.us/Snoop/

5) How can visualize WPF resource? as like CSS resource checking with firebox or devtool bar in web programming?
http://mattserbinski.com/blog/helpful-wpf-tools-pistachio-snoop-and-mole

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