用户控件的调试可视化器
如何为用户控件编写调试可视化工具?
用户控件具有位图属性,需要在调试期间在监视窗口中显示该属性。让我知道这是否可能。
-达特
How to write a debug visualisers for a user control?
The user control has a bitmap property that needs to be displayed in the watch window during debugging. Let me know if this is possible.
-Datte
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
基本说明:
http://msdn.microsoft.com /en-us/library/ms379596(v=vs.80).aspx
下面是一个示例,也可能对您有所帮助:
http://imagedebugvisualizer.codeplex.com/
很确定你实际上不能让它修改监视窗口本身,但是当你有一个变量时,你可以选择你的可视化工具并检查它。您也许可以只使用示例可视化工具并在监视窗口中抛出类似 Control.PropertyName 的内容来查看它。
Basic instructions:
http://msdn.microsoft.com/en-us/library/ms379596(v=vs.80).aspx
Here's an example which will also probably assist you as well:
http://imagedebugvisualizer.codeplex.com/
Pretty sure you can't actually make it modify the watch window itself, but when you have a variable there you can select your visualizer and inspect it. You may be able to get away with just using the example visualizer and throw something like Control.PropertyName in the watch window to view it.