【发布时间】:2016-08-23 02:14:39
【问题描述】:
我一直在为 wpf 应用程序使用 IntelliTrace.exe 来收集 iTrace 日志。 IntelliTrace.exe 位于以下系统路径中 "C:\Program Files\Microsoft Visual Studio 10.0\Team Tools\TraceDebugger 工具"
当我使用带有启动开关的 IntelliTrace 时,它工作正常。
IntelliTrace.exe 启动 /cp:"mycollectionplan.xml" /f:"iTraceFilewithFullpath" "ApplicationwithFullpath" - LAUNCH CMD
但是当我使用 IntelliTrace 启动或运行时,已创建大小约为 160,000 KB 的 iTrace 文件,当我停止它时,它又变回 576 KB
IntelliTrace.exe start /cp:"mycollectionplan.xml" /f:"iTraceFilewithFullpath" "ApplicationwithFullpath" - START CMD
IntelliTrace.exe 运行 /cp:"mycollectionplan.xml" /f:"iTraceFilewithFullpath" "ApplicationwithFullpath" - 运行 CMD
IntelliTrace.exe stop /cp:"mycollectionplan.xml" /f:"iTraceFilewithFullpath" "ApplicationwithFullpath" - STOP CMD
请就这个问题提出建议
让我知道我们有什么方法可以在需要时启动和停止记录器
【问题讨论】:
标签: wpf intellitrace