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

Learn more about our team.

Recent Posts

  • Time-controlled Azure WebJobs – Azure as easy as it get‘s

        While still in development the Azure WebJob SDK offers some cool features for procession and supply of information. A good example is the sample that observes the Azure Queue and processes an item as soon as it spots one.   Scenario: time-controlled activities – without queue and so on My scenario was quite […]

  • image2021-570x194_thumb.png
    HowTo: Create RSS Feeds with ASP.NET MVC

    I’ve already written about how to consume RSS or Atom Feeds with the SyndicationFeed (in German, sry) but todays post is about how to create or publish an own feed. Beside the age of the feed standard and the much defamation from Facebook, Twitter and Google on RSS/Atom I consider this easy to consume API […]

  • image1997-311x194_thumb.png
    How to access an Azure Website with the local IIS Manager

    Since the end of February it is possible to access an Azure Website with the IIS Manager. Although the Azure Management site offers some information there are more details visible at the IIS Manager. For the connection you will need an IIS Manager and the IIS Manager for Remote Administration Extension. It’s also possible to […]

  • image1929-570x143_thumb.png
    Create and validate own Json-Web-Tokens (JWTs)

    If you are interested in web authentication you probably have heard about JSON Web tokens (JWT). What is a JWT? Maybe I’m not using the correct security termination but however: JWTs are used to exchange claims between two systems. For example: You want to log on to a service (like Facebook, Twitter, etc.) and want […]

  • Micro-Optimization: how to shrink or „embed“ pictures

      I’m currently working on the “CodeInside Dashboard” and since the page structure isn’t that difficult it should be possible to fulfill all of Google Pagespeed or Yahoos YSlow recommendations. One of the rules was to optimize the 4 PNGs that are embedded on the page.   Before – without optimization: Below you can see […]

Support us