Skip to content

zhangwenquan/snoopwpf

 
 

Repository files navigation

Snoop

Snoop is the open source WPF spying utility created by Pete Blois when he was employed at Microsoft.

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

Build status 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
  • github releases
  • appveyor for the latest preview versions (built on every code change)
  • Please note that you need at least .NET Framework 4.0 and the Microsoft Visual C++ Redistributable(s) 2017 to run Snoop

Versions

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

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 WPF 3.5 Applications?

Well, you can! You will just need to use Snoop 2.9.0 and earlier, in order to do so. As part of the process of moving to Visual Studio 2017, we have dropped support for WPF 3.5 applications.

How do i build Snoop?

Just open Snoop.sln with Visual Studio 2017 (or later) and build it. Please note that you need the Visual Studio 2017 C++ payload and in case you are using a later version you also need the VC++ 141 payload.

Note that if you are going to run Snoop somewhere where you haven't built it you are likely going to need the Microsoft Visual C++ Redistributable(s) for Visual Studio 2017 for both x86 and x64 installed on that machine. See here for some download links to the redists.

Contributors

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

About

Snoop - The WPF Spy Utility

Resources

License

MS-PL, Unknown licenses found

Licenses found

MS-PL
License.txt
Unknown
License.rtf

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 95.8%
  • C++ 2.8%
  • Other 1.4%