【问题标题】:intellitrace standalone recorderIntellitrace 独立记录器
【发布时间】:2012-05-08 23:33:19
【问题描述】:

我知道测试用例管理应用程序会静默记录 Intellitrace 数据转储文件 (http://blogs.msdn.com/jennifer/archive/2008/12/05/visual-studio-team-system-vsts-2010-making-testing-easier.aspx)

我很好奇是否有允许记录智能跟踪日志的独立版本(例如,可以放在托盘窗口中的东西)。

【问题讨论】:

    标签: intellitrace historical-debugging


    【解决方案1】:

    “Microsoft Visual Studio 10.0\Team Tools\TraceDebugger Tools”下的 VSTraceLog.exe 可能就是您要查找的内容。

    VSTraceLog.exe /?获得不同的选择。

    一个简单的例子:VSTracelog.exe launch /cp:CollectionPlan.xml /f:logfilename.tdlog TheExecutableToLog.exe

    您需要将文件“Microsoft Visual Studio 10.0\Team Tools\TraceDebugger Tools\en\CollectionPlan.xml”复制到已知位置并进行修改。打开 XML 文件并找到“DiagnosticEventInstrumentation”,将启用的属性设置为 true。您也可以选择启用“TraceInstrumentation”。启用 TraceInstrumentation 就像启用 Tools->Options->IntelliTrace->events and call information。

    【讨论】:

    • 非常感谢 Evan,我实际上缺少您在我的安装目录 C:\Program Files\Microsoft Visual Studio 10.0\Team Tools\TraceDebugger Tools 中提到的可执行文件。我拥有的唯一文件是 TraceLogProfiler.dll 。安装 Visual Studio 时这是单独的安装选项吗?
    • 如果您使用的是 64 位 Windows,请查看“C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\TraceDebugger Tools.”。根据安装选项,找到该位置的最快方法可能是创建一个基本的控制台应用程序。设置断点。 F5 并命中断点。启动 Process Explorer (technet.microsoft.com/en-us/sysinternals/bb896653.aspx),然后查看 IntelliTrace.exe 的属性以获取其位置的完整路径。
    【解决方案2】:

    在 Visual Studio 2012 中,有一个完全受支持的独立版本可用。 http://www.microsoft.com/en-us/download/details.aspx?id=29036

    【讨论】:

      【解决方案3】:

      您可能还对http://naveensrinivasan.com/2010/04/28/useintellitracewithoutvsnet/ 感兴趣,它描述了如何在未安装 Visual Studio 的 PC 上运行 IntelliTrace。在这种情况下,如果您没有运行 VS2010 Ultimate,它将适用于您。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 2016-08-23
        • 1970-01-01
        • 2014-02-15
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多