I want to point with the mouse on an area in my application and know the name of the UserControl.
views:
201answers:
5Spy++ allow you to see Window settings and messages, but that works at native (Win32) level, and will not show .NET information.
I havn't tried it, but there is a tool called ManagedSpy (Article) that might be helpful.
Hawkeye can do that and more. You can see all the properties, fields, events and methods of a control. You can also edit the properties during runtime.
My favorite (for ease of use) is our modified wfSpy utility.
It is available at my blog: http://www.cplotts.com/2009/10/28/an-ode-to-wfspy/
The original utility is from CodeProject ... but that version doesn't have the ability to drag the mouse on top of a control in your application.
Hawkeye (already mentioned above) is a favorite of mine as well ... more powerful than wfSpy ... but definitely harder to use. wfSpy is great for quick and simple spying (and of course editing of properties on the fly).