Loic.snoopwpf.snoopwpf 1.0.0

dotnet add package Loic.snoopwpf.snoopwpf --version 1.0.0
                    
NuGet\Install-Package Loic.snoopwpf.snoopwpf -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Loic.snoopwpf.snoopwpf" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Loic.snoopwpf.snoopwpf" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Loic.snoopwpf.snoopwpf" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Loic.snoopwpf.snoopwpf --version 1.0.0
                    
#r "nuget: Loic.snoopwpf.snoopwpf, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Loic.snoopwpf.snoopwpf@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Loic.snoopwpf.snoopwpf&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Loic.snoopwpf.snoopwpf&version=1.0.0
                    
Install as a Cake Tool

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.0 to run Snoop

Versions

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

3.0.0

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

2.11.0

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

2.10.0

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.

2.9.0

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 .NET 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 2019, we have dropped support for .NET 3.5 applications.

How do i build Snoop?

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

Requirements:

  • Visual Studio 2019 16.8 (including C++ payloads (x86/x64/ARM/ARM64))
    • You can import the .vsconfig file in the Visual Studio installer to let it install all required components
  • .NET Core SDK 5.0.100

Contributors

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

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net5.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 0 7/31/2021