【发布时间】:2012-01-28 04:59:41
【问题描述】:
有哪些技术可用于调试 Windows Metro 风格应用程序中的数据绑定问题?是否有类似 WPF 和 Silverlight 应用程序的可用技术,如下所述:
- How can I debug WPF bindings?
- Debugging Data Bindings in a WPF or Silverlight Application
- How can I turn binding errors into runtime exceptions?
编辑:我最初询问的是 WinRT 数据绑定调试技术,以便解决 Metro: Why is binding from XAML to a property defined in code-behind not working? 中描述的问题。我最终找到了a solution 来解决这个问题,但是尝试了有效的解决方案,当我故意拼错属性名称以便找不到它时,我没有在 Visual Studio 11 输出窗口中看到任何消息。 PresentationTraceSources 似乎也不适用于 WinRT 应用程序。
【问题讨论】:
标签: wpf debugging xaml data-binding windows-runtime