Bookmark and Share Share...    Subscribe to this feed Feed   About Christian Moser  


WPF Inspector

WPF Inspector is a utility that attaches to a running WPF application to troubleshoot common problems with layouting, databinding or styling. WPF Inspector allows you to explore a live view of the logical- and visual tree, read and edit property values of elements, watch the data context, debug triggers, trace styles and much more. Since March 2011, WPF Inspector is open source and available on CodePlex.

Download WPF Inspector from CodePlex





Last modified: 2017-04-18 07:14:53
Copyright (c) by Christian Moser, 2011.

 Comments on this article

Show all comments
Vins
Commented on 3.January 2011
Christian,
I can't get it to work.. Version 0.9.5 gives me error "Object Reference Not Set" when I click Inspect after selecting my wpf application.
Any clue?
Thanks!
xusan
Commented on 10.January 2011
Would be very appreciated to see it working on WPF 4.0 coz we haven't been using 3.5 for a long and may be would not work on that version soon, any ways thank you for sharing this wonderfull tool
shemesh
Commented on 17.January 2011
same as the one above me. i get this error.
Tony
Commented on 18.January 2011
Very usefull tool I used under Windows 7 x64 and Visual Studio 2008
since I work with Visual Studio 2010, it's no longer working
if you release the source code, we could help you improve this great tool
(note : Snoop is also a good tool but it doesn't work too)
Mel
Commented on 29.January 2011
Agree with the above. We could really help you improve this great tool (and probably make it work for a wider audience).

I've been trying to use it in my win7 VS2010 box to no avail. it works on my winxp VS2008 though.
Cory Plotts
Commented on 10.February 2011
@Tony:
Snoop does work for WPF 3.5/4.0 and x86/x64 ... just make sure that you have the latest version at http://snoopwpf.codeplex.com.

If you have grabbed the version from Pete Blois' site ... that one ONLY works for WPF 3.5 and x86.
Tony
Commented on 24.February 2011
@Cory Plotts
The latest version works... sometimes... (many times I can't snoop into the application, the "Snoop this application" button doesn't do anything, the "Magnify" button is working)
and when I successfully Snoop the application, Snoop is stuck at the ContentPresenter of the main window, I can't "snoop" into my injected view (my project use CAB/SCSF)
jhon
Commented on 3.March 2011
hallo,,,,i jhon IT student, can u pls help me to develop my thesis,
using wpf, pls view me some sample or give me some sites that can
help me in developing may programm..thanks..

Rohatash
Commented on 11.March 2011
nice work
Borislav Ivanov
Commented on 11.March 2011
Great work with this new release!
I hit a small problem:
I have two running 2 WPF applicaions and choose to attach to one of them, but WPF Inspector attaches to the other one:
- .NET 4.0 64-bit (this is Metro Twit)
- .NET 3.0 32-bit (this is my app, that I cannot attach to)

If I stop the Metro Twit, I can succesfully attach to my app.
edgar
Commented on 17.March 2011
I just realized that if I put a disabled button to register the application unless you enter a valid serial, you can enable that button easy. 0_o
Great application!
suresh ramasamy
Commented on 23.March 2011
It is very usefull for me..
I learn wpf basic easily..this is great.
Christian Moser
Commented on 23.March 2011
Hi Borislav,
the problem has been fixed in version 0.9.8. You can download it directly from codeplex.
Aly
Commented on 23.March 2011
Really a gud site for WPF learners..
Debashish...
Commented on 29.March 2011
It's great site who are working on WPF for the first time .
Girish K
Commented on 13.April 2011
It's good site for Beginner who are working on WPF
Jane
Commented on 14.April 2011
Mole is another great way to visualize WPF apps, they just put out Mole 2010 and it's really awesome for what I'm doing with WPF at work.
www.molosoft.com
tauqir
Commented on 16.April 2011
Very handy tool ,,, more features than snoop....

One Suggestion : The Main Inspector should not exit when we close the application we are inspecting. We have to rerun inspector every time we want to inspect.
Hope to see this in future release.
Tobias
Commented on 18.April 2011
Hello Christian.
your Tool is very nice.
But, it is not possible to read complete Text of Errors, if they are very long. It is not possible to scroll, or rightclick to copy text to clipboard.
It would be very nice and good to have this feature.

Greets

Tobi
Rohit
Commented on 29.April 2011
Hi,

WPF Inspector is an awesome stuff for a wpf developer. But i'm facing an issue with it.

can you provide any work around for this - http://stackoverflow.com/questions/5831354/cannot-add-geometrydrawing-to-drawinggroup

Thanks,
shankar
Commented on 3.May 2011
Sir please give demo video how to work on this? i am not able to know this one.Its showing empty.
Thomaz
Commented on 17.June 2011
Very promissins concept, I've been looking for something like this for some time.
But I'm having trouble attaching it to my application. Seems like no matter which application I select in the Attach box WPF inspector always attaches to itself.
Sai Govind.N.K
Commented on 19.July 2011
Good
Rodrigo
Commented on 14.August 2011
... Show de Bola!!
Tamas
Commented on 26.September 2011
Really helpful resource

Name
E-Mail (optional)
Comment