今天 Visual Web Developer 突然不允许我调试 Silverlight 应用程序。
这种情况发生在 2008 和 2010 版本中。
它不会给出错误消息,只是忽略所有断点。
它仍然可以调试 ASP.NET 应用程序。
还有其他人遇到过这种情况吗?
添加:
有趣:调试在 Internet Explorer 中有效,但在 Firefox 中无效。此外,在第二台计算机上的新安装上,它可以在 IE 和 FF 中进行调试。刚刚注意到FF浏览器还是3.6.3版本。
我清除了 Firefox (3.6.4) 中的所有内容,但它仍然无法在该浏览器中进行调试(在两台计算机上):
alt text http://www.deviantsart.com/upload/l46lcc.png
卸载 Silverlight 插件时我看到了这个:
最佳答案
检查此链接:
http://forums.silverlight.net/forums/t/188434.aspx
解决方案似乎是:
Regarding the debugging: I think it would be possible to write a VS plugin or similar to attach to the plugin-container.exe process automatically, however there's a simpler solution. You can disable the new isolation feature in Firefox:
Type "about:config" into FF's address bar Accept the warning (if applicable) Search for the entry "dom.ipc.plugins.enabled.npctrl.dll" Change its value from "true" to "false" (double-click) Restart the browser
关于visual-studio - 为什么 Visual Web Developer 2008/2010 不再在 Firefox 中调试 silverlight 应用程序?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3120025/