Questions tagged [snoop]

Snoop is the open source WPF spying utility. It allows you to spy/browse the visual tree of a running WPF application (without the need for a debugger) … and change properties ... amongst other things.

Snoop is the open source WPF spying utility created by Pete Blois and now maintained by Team Snoop (Cory Plotts, Dan Hanan, Andrei Kashcha, and Maciek Rakowski).

It allows you to spy/browse the visual tree of a running WPF application (without the need for a debugger) … and change properties ... amongst other things.

56 questions
34
votes
3 answers

How to Snoop proof your wpf application?

Snoop allows you to look inside the application and change element properties. Its a great asset for developers, but can be a security issue in some cases, like when we have users who like to look in places where they shouldn't be looking. Is there…
chiefanov
  • 1,044
  • 1
  • 10
  • 15
16
votes
2 answers

Snoop doesn't see my application's child windows

When I run Snoop 2.8, it sees my program's main window and lists it in its ComboBox. However, my program creates a child window that is displayed by calling ChildWindow.Show(). No matter what I do, I can't snoop that child window. If I refresh…
Tony Vitabile
  • 8,298
  • 15
  • 67
  • 123
15
votes
2 answers

How to "Snoop" a ContextMenu?

I have a ContextMenu that uses a CompositeCollection for its ItemsSource. One of the items (the one that is in a bound collection, as opposed to hard-coded) is displayed differently from the rest. I didn't see anything obvious in the XAML as to why…
BradleyDotNET
  • 60,462
  • 10
  • 96
  • 117
12
votes
4 answers

What technique does Snoop uses to inspect a WPF application

Snoop, the spy utility, uses some powerful technique (probably some sort of reflection) to inspect a running WPF application. Most interesting is the fact, that Snnop is able to readout the entire object structure. A few days ago I downloaded the…
Dennis Kassel
  • 2,726
  • 4
  • 19
  • 30
11
votes
1 answer

Firebug like tool for WPF?

I'd like to run my program and hover on elements and have a program show me in the visual tree what I am hovering. I tried 'Snoop' but it just shows me a visual tree without the ability of actually hovering on the elements at runtime. Do you guys…
Shai UI
  • 50,568
  • 73
  • 204
  • 309
11
votes
2 answers

Snoop doesn't detect

I have Windows7 and Visual studio 2008. I've opened new Wpf Application and run it, and run Snoop and it didn't detect my wpf window. why ? I've tried the Refresh button - didn't help.
Erez
  • 6,405
  • 14
  • 70
  • 124
11
votes
1 answer

RS-232 serial snoop tools for protocol development / debugging

I developing a wide range of relatively simple firmware devices. Every one of these ends up talking to the PC (or another device) via the RS-232 port in one way or another, so I spend a lot of time implementing and debugging their communication…
Tom Leys
  • 18,473
  • 7
  • 40
  • 62
9
votes
1 answer

Is there any spying utility is available for Universal Windows Application?

I have used Snoop application as spying utility for my WPF application to find the focus of ui element. Like the same, there is any spying utility is available for Universal Windows (UWP) applications. I have also tried with XamlSpy utility for my…
Sabaridass R
  • 217
  • 2
  • 6
8
votes
1 answer

Snoop does not recognize my program

I'm building a WPF 4 application. In the past, Snoop was able to see the application, but now it does not. This is true with Snoop 2.7.1 and 2.8.0. That is, I click on the refresh button and my app does not show up in the drop-down control. I…
Tony Vitabile
  • 8,298
  • 15
  • 67
  • 123
7
votes
1 answer

Why is Snoop for WPF crashing when we try attaching it to our application?

When I run Snoop on my WPF application, my application crashes and I get an error saying "BindingFailure was detected". The details of the error are: The assembly with display name 'Snoop.XmlSerializers' failed to load in the 'LoadFrom' binding…
Jason D
  • 2,634
  • 6
  • 33
  • 67
4
votes
2 answers

How to snoop a tooltip using Snoop?

Is there a trick for snooping a tooltip? Since it disappears as soon as the mouse gets over it there is no chance for ctrl+shift+click.
springy76
  • 3,706
  • 2
  • 24
  • 46
4
votes
1 answer

WPF: use Snoop on Windows launched from WinForms?

is it possible to get snoop to profile WPF Windows launched from WinForms app?
Sonic Soul
  • 23,855
  • 37
  • 130
  • 196
3
votes
1 answer

How can I get Audio Stream from MediaPlayer in Android

I tried to display audio stream for visualization, and I found MediaPlayer.snoop(short[], int) to get audio stream playing now on Mediaplayer So I did the code: Class c = MediaPlayer.class; Method m = c.getDeclaredMethod("snoop",…
3
votes
4 answers

UI Automation Testing Tools

I'm working on UI automation. We are using the following tools. Bewildr Snoop Our WPF application uses a custom framework developed by the company. Many of the buttons are generated dynamically. For example, the controls that have ID guids, get new…
Jon Abaca
  • 821
  • 1
  • 9
  • 14
3
votes
3 answers

How can I debug network requests from my iPhone?

I want to check the network requests an app is making from my iPhone. It's on the same WiFi network as my computer (or if it makes things easier, I can set it up to use an ad-hoc network). I don't want to see every packet, just the URLs which my…
nevan king
  • 112,709
  • 45
  • 203
  • 241
1
2 3 4