Snoop – Firebug for WPF applications

image1670

A colleague of mine told me about a nice tool for WPF developer: Snoop. It’s somehow like Firebug – just for WPF applications.

For those who don’t know firebug: with this tool it is possible to analyze websites and change parameters.

Installation

Snoop itself is an open source project and you can download it on Codeplex or GitHub. The installation is quick and after the start you will see this little list:

image

To x-ray WPF applications

With the help of this list you are able to search for current WPF applications or choose an WPF application with the “target”.

Now you will see the object tree – alike firebug – including the characteristics and possible Binding-errors:

image

3D view on the surface

An interesting feature is the overview of the surface in 3D. If you take a look on the surface (of this Demo-App)…

image1673

You are going to see this “3D layer model”:

image

Nice gimmick but it might be useful for someone.

Powershell support

With a console it is possible to run through the Object-graph and read or change the characteristics – while the application runs.

image

Debugging of Binding-errors, eventhandler and more

Binding-errors in WPF are annoying – Snoop is able to show the current DataContext and help you eventually (WPF binding is … complicated). I’m sure there are some more features I forgot to talk about or didn’t use till now:

image

Result

Snoop seems like a nice tool to x-ray running WPF applications – but at least it doesn’t reach Firebug or other WebDev Tools.

Here is the Download again.

Thanks again to Marco for the hint Zwinkerndes Smiley

Options?

If some experienced WPF developers know some different tools please be free to share them with us.

If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.

About the author

Written by Code Inside Team

Learn more about our team.

One Response

Comment on this post

Recent Posts

  • Windows Phone Fonts & what if Visual Studio lies

    Today I was confronted with a little Problem: my Windows Phone App refused to show me the Font I choose – also other thinks didn’t work. Although the Visual Studio Designer did show the Fonts: Unfortunately there isn’t much left in the Emulator: Reason for this: Windows Phone doesn’t include all the typos Windows does ...

  • Json-Online-Tools: Viewer & Json2Csharp generator

      Wherever APIs are mentioned the JSON format I not far away. Since I’m using two tools regularly I would like to introduce you to them. JSON Viewer If you only see the JSON-Text you are usually not able to see the structure. With the help of JSON Viewer you can have an easy overview: ...

  • Windows Phone SDK & „System“-Icons

      Although the Metro Design focuses a lot on Typography Icons are still quite important. If you install Windows Phone SDK you will receive 36 Icons. You can find them here: C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.0\Icons Unfortunately many Icons you might know from the common applications are not integrated. Pedro Lamas extracted 99 additional Icons ...

  • image1830-570x194.png
    How can I figure out if my ADFS 2.0 works?

      I was working with ADFS 2.0 (“Active Directory Federation Services”) for a while when this simple question crossed my mind: How can I figure out if the connection between ADFS and AD “works”? Here is a simple test… What is ADFS? If you need some “position of trusts” beneath the AD-boarders you choose an ...

  • Subdomain vs. Subdirectory

      Better blog.mydomain.com or mydomain.com/blog? Good question! If got asked this question again via Twitter on the weekend so therefore I decide to share my experiences:   Choose a subdomain, if…. - You plan to offer “different services” which are “logical separated” on one domain - You are able to influence the subdomains without much ...

Support us