Question

Spy++ is a tool for windows that let the user spy on windows attributes, child windows and the message that it will process. It is handy utility to debugging UI related code.

Was it helpful?

Solution

Back then, i tested my middle mouse button using a tool called xev. It creates a new window, which you can send events (by clicking on it, or pressing buttons) which are catched and printed on stdout. According to a comment by jpalecek, it can also be used to watch other windows, instead of a new one. The following will watch events from a window you selected by clicking on it:

xev -id $(xwininfo | awk '/Window id/ { print $4 }')

For gathering general information, xwininfo can be used, which can display children, attributes and more.

OTHER TIPS

I've seen a "spy" feature from Squish. This is a GUI testing tool.

WinFormSpy provides some of the basic features provided by Spy++ for winform applications running using mono.

It allows viewing certain windows attributes and shows the window structure as a tree.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top