"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 –

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?

January 24, 2011 - Posted by | WinFX |

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Get every new post delivered to your Inbox.

%d bloggers like this: