我们可以在WPF中调试Xaml吗? [英] Can we Debug Xaml in WPF?

查看:862
本文介绍了我们可以在WPF中调试Xaml吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们可以在WPF中调试Xaml吗?有没有任何外部工具或VS插件可以做到这一点?

解决方案

我偶尔发现这些技巧在这里有用...



http://www.wpftutorial.net/ DebugDataBinding.html



...特别是第二个使用虚拟值转换器来插入调试器。查看正在绑定的对象等都很有用。


Can we Debug Xaml in WPF? Is there any external tool or VS plugin which can do that?

解决方案

I've occassionally found these tricks here useful...

http://www.wpftutorial.net/DebugDataBinding.html

...particularly the second one where you use a dummy value converter to break in to the debugger. It's useful for seeing exactly what objects are being bound, etc.

这篇关于我们可以在WPF中调试Xaml吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆