views:

175

answers:

3

Howdy,

I am designing a program that dynamically creates its own GUI at run time.

I am looking for a firebug like utility that allows me to move my mouse around the form to see different controls highlighted and see what their size, padding, margins, etc are set to.

Thank you,
Keith

+2  A: 

Spy++ is about the closest you're gonna get... but it's for generic Windows, not .NET sepcifically.

I did find this article on MSDN magazine about ManagedSpy

Mystere Man
A: 

A browser has a DOM model, without that I don't think this is possible. Without thinking too much about it, I don't know how such a thing would be able to plug in to an application much less browse a control hierarchy.

Might have to roll it yourself. Shouldn't be too hard if you leave the proper hooks.

George Mauer
+2  A: 

There is a tool called Hawkeye that does exactly what you ask for. Here are the two articles I wrote about it.

Debugging Tools: Hawkeye

Corneliu Tusnea has Released Hawkeye as Open Source

Jonathan Allen
This looks like it may be what I was looking for, but I am getting an error, same at this one: http://hawkeye.codeplex.com/Thread/View.aspx?ThreadId=31691
Keith Sirmons
Downloaded the app from http://www.acorns.com.au/Projects/Hawkeye/ This one seems to work for me. Thank you.
Keith Sirmons