【问题标题】:How can I correct "IntelliTrace code failed. The system cannot find the file specified."?如何更正“IntelliTrace 代码失败。系统找不到指定的文件。”?
【发布时间】:2017-01-17 06:28:13
【问题描述】:

自从安装 VS2015 后一段时间(但不是立即),每当我在特定的大型解决方案中调试时,都会显示以下消息。点击确定后,调试似乎正常进行了。

---------------------------
Microsoft Visual Studio
---------------------------
Cannot debug some of the code in process vstest.executionengine.exe [17608]. See below for status.

    IntelliTrace code failed. The system cannot find the file specified.
    Managed (v4.5, v4.0) code succeeded.

Click OK to continue debugging the remaining code. To disable debugging the failed type(s) of code in the future, change the corresponding setting in the project properties dialog.
---------------------------
OK   
---------------------------

据我所知,Intellitrace 代码失败了,我可以在受影响的项目中禁用调试它。我的问题是我不太确定如何确定 Intellitrace 代码是什么,或者我必须使用什么选项来禁用调试它。一种识别受影响项目的方法也不错,但如果必须,我可以遍历所有项目的属性,前提是我知道要寻找什么选项。

我没有看到任何写入输出窗口的内容可能会提供一些见解,是否还有其他一些我不知道的日志?

我花了几个小时在网上搜索,但没有找到任何见解。我的同事都没有得到这个,以前也没有见过。有人可以帮忙吗?

目前我已完全禁用 Intellitrace,这可以防止消息弹出,但如果我真的想开始使用 Intellitrace 功能,这不是一个解决方案。

【问题讨论】:

    标签: debugging visual-studio-2015 intellitrace


    【解决方案1】:

    我在 IntelliTrace 团队工作,希望能帮到您。 IntelliTrace 是 Visual Studio Premium 的一项功能,可在您调试托管代码时使用调试器自动执行。它将为您提供有关正在运行的程序的其他信息,例如发生异常时的日志、对 SQL 或 ASP.NET 的调用以及许多其他有用的事件。

    鉴于您看到的错误的性质,更新似乎没有正确安装,并且缺少二进制文件。您是否尝试过修复VS?这可以通过“控制面板 > 程序和功能 > Microsoft Visual Studio 2015”来完成。

    如果这不能解决问题,请跟进,我们会尽力解决您的问题。

    【讨论】:

    • 谢谢。不过我不再有问题了。由于遇到这个问题,我在我的机器上完成了全新的 Windows 安装,现在正在使用 VS 2015 Professional,所以无论如何都不要使用 IntelliTrace。
    【解决方案2】:

    全新的 Windows 安装解决了该问题。事实证明,我之前安装的包缓存严重损坏,因为它是 Windows 8.1,所以我选择重新安装 Windows 10。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-07-31
      • 2017-05-22
      • 2020-08-23
      • 2023-03-16
      • 2021-10-19
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多