silverlight中调试断点不可到达,提示:The breakpoint will not currently be hit.

来源:互联网 发布:越知月光出场 编辑:程序博客网 时间:2024/05/17 07:11

现象:

在visual studio中 调试 silverlight 程序,当调试运行时,发现silverlight中的断点不可到达,提示“The breakpoint will not currently be hit.”,


解决方案

    从菜单栏的 Tools->Options->Debugging->General 取消  "Require source to exactly match..."  项的选择。


分析:

应该是调试的时候,浏览的不是最新的silverlight生成的xap包,版本不一样,visual studio在调试的时候,将找不到对应版本的程序。

原创粉丝点击