Spy ++工具的托管版本? [英] Managed version of Spy++ Tool?
问题描述
前一段时间,我需要一个类似Spy ++的应用程序来进行某些.NET UI调试.我发现旧的MSDN文章中有一个示例,该示例具有类似的功能,但是在新的.NET Framework版本中停止了工作.
Awhile ago, I needed a Spy++ like application for some .NET UI debugging. I found an old MSDN article with a sample that does things similarly, But that stopped working in newer .NET Framework versions.
是否有人知道/编写了一个模仿Spy ++行为并在托管应用程序上工作的应用程序(而是显示托管事件/属性)并在最新的.NET Framework(最高4.0)上工作?
Does anyone know of/wrote an application that mimics Spy++ behavior and works on Managed applications (rather, shows Managed events/properties) and works on newer .NET Frameworks, up to 4.0?
推荐答案
我可以推荐 UISpy ,一种使用 UI自动化的间谍实用程序框架可以透明地监视普通Win32应用程序以及 Windows窗体或 WPF .很难找到UISpy,但我只是从http://andrewtokeley.net/archive/2009/09/15/uispy-ndash-download-it-here.aspx 下载了可执行文件本身-效果很好!
I can recommend UISpy, a spy utility which uses the UI Automation framework to transparently spy on plain Win32 applications as well as Windows Forms or WPF. It's a bit hard to find UISpy, but I downloaded just the executable itself from http://andrewtokeley.net/archive/2009/09/15/uispy-ndash-download-it-here.aspx - works great!
对于使用Windows窗体和WPF的.NET应用程序,该应用程序利用.NET反射来显示对象的大量属性.
For .NET applications using Windows Forms and WPF, the application makes use of .NET reflection to display a huge number of properties for the objects.
这篇关于Spy ++工具的托管版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!