Skip to content

snoopwpf/snoopwpf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snoop

Snoop is an open source WPF spying utility originally created by Pete Blois and is currently maintained by Bastian Schmidt.

It allows you to spy/browse the visual, logical and automation tree of any running WPF application (without the need for a debugger).
You can change property values, view triggers, set breakpoints on property changes and many more things.

Build status for master branch Build status for develop branch Chocolatey version Chocolatey download count

Contact

  • Join the chat at https://gitter.im/snoopwpf/Lobby
  • Twitter

Where can i download Snoop?/How can i install Snoop?

  • Chocolatey for stable and some preview versions
  • GitHub releases for stable versions
  • AppVeyor for the latest preview versions (built on every code change)
  • You need at least .NET Framework 4.6.2 to run Snoop

Supported .NET versions

  • .NET Framework >= 4.6.2
  • .NET >= 6
    • Tested with 6, 7 and 8. Future versions might just work.
    • Restrictions: Self-Contained single file applications are not supported as there is no reliable way to get a handle to the .NET runtime

Versions

You can read the changelog for details on what changed in which version.

Breaking:

  • Dropped support for all .NET Framework versions prior to .NET 4.6.2
  • Dropped support for .NET 3.1 and NET 5

Highlights:

  • Improved settings system that does not rely on System.Configuration
    The new system allows sharing of settings between different snooped applications.
    It also allows to define settings for whole directory trees.
  • It's now possible to hide properties from Snoop in it's default view.
    Just annotate your properties with [System.ComponentModel.BrowsableAttribute(false)].
  • Added the ability to show browser dev tools on browser controls.
    WebView2 and CefSharp are currently supported.
  • Added dark theme

Breaking:

  • Dropped support for all .NET Framework versions prior to .NET 4.5.2
  • Dropped support for .NET 3.0
  • Added support for .NET versions >= 6.0 (by not explicitly blocking versions greater than 6.0)

Highlights:

  • Support for .NET 6.0
  • Support for ARM/ARM64
  • New "Diagnostics" view
  • Settings for highlighting
  • Artifacts are digitally signed thanks to SignPath.io (MSI, Chocolatey NUPKG and zip)

Breaking:

  • Dropped support for all .NET versions prior to .NET 4.5.1

Highlights:

  • Support for .NET Core (3.0, 3.1 and 5.0) (including self contained and single file applications)
  • Rewritten injector code
  • You no longer have to have installed any Microsoft Visual C++ Redistributable(s)
  • Snooping disabled controls when holding CTRL + SHIFT works now
  • Snoop now filters uncommon properties by default
  • Snoop is now able to show MergedDictionaries from ResourceDictionary
  • Snoop now has two tracking modes.
    • Holding CTRL tries to skip template parts => this is changed to CTRL + ALT in newer versions
    • Holding CTRL + SHIFT does not skip template parts
  • Drastically improved performance of AppChooser.Refresh() (thanks @mikel785)
  • Usability improvements for process dropdown (thanks @mikel785)
  • Support for displaying the logical tree and the tree of WPF automation peers
  • Ability to inspect Popup without opening it
  • Snoop.exe and the injector launcher now support commandline args
  • Global hotkey support (just start snoop, focus a WPF application and hit CTRL + WIN + ALT + F12)

Known issues:

  • Trying to snoop a trimmed single file application might not work as trimming might have removed things Snoop relies on

Highlights:

  • Support for multiple app domains
  • Auto elevation to enable spying of elevated processes without running Snoop as administrator
  • Persistent settings for various settings
  • Improved error dialog and issue reporting
  • Rewritten window finder

Was released on September 19th, 2018. In this version we finally got rid of support for snooping WPF 3.5 applications. This allowed us to move the Snoop projects forward to Visual Studio 2017 which should make it much easier to work with Snoop's source code.

Was released on July 27th, 2018. The big addition in this version was the inclusion of the triggers tab which was a useful feature of another WPF spying utility called WPF Inspector (written by Christan Moser). It was ported to Snoop by Bastian Schmidt.

Documentation on how to use Snoop

Unfortunately there isn't any exhaustive documentation on how to use Snoop and there are plenty of hidden features. If someone is willing to work on this, please let me know. On the bright side, it is a pretty easy utility to use and learn. I have made three videos which should get most people quick started.

Here are the links to the current Snoop Tips & Tricks:

Why can't I snoop my application?

Well, you can! You will just need to use an earlier version of Snoop, in order to do so.
The minimum versions are:

Snoop .NET Framework .NET
3.0 4.0 3.0
4.0 4.5.1 3.0
5.0 4.5.2 3.1
6.0 4.6.2 6.0

How do i build Snoop?

Just open Snoop.sln with Visual Studio and build it.

Requirements:

  • Visual Studio 2022
    • C++ payloads (x86/x64 and optionally ARM/ARM64)
    • You can import the .vsconfig file in the Visual Studio installer to let it install all required components
  • .NET SDK 8.0.100 or later

Contributors

Over time contributions have been added by several people, most notably:

Code Signing

Snoop uses free code signing provided by SignPath.io and a free code signing certificate by the SignPath Foundation