我在应用程序上运行 dotTrace 的 ConsoleProfiler ( dotTrace doc ) 并不断收到一条消息:
"分析在 60.906 秒内成功完成
未收集任何快照”。
我错过了什么?
控制台输出:
C:\JetBrainsCLT>ConsoleProfiler.exe dotTrace_Config.xml snapshot.dtp
Console Profiler 2016.1 build 105.0.20160414.155338 Copyright (C) 2011-2015 JetBrains s.r.o.
...
Profiling is successfully finished in 60.906 seconds
No snapshots have been collected
Run Code Online (Sandbox Code Playgroud)
dotTrace_Config.xml:
<root>
<HostParameters type="LocalHostParameters" />
<Argument type="StandaloneArgument">
<Arguments IsNull="False">
</Arguments>
<FileName>C:\Sourcecode\Project\bin\Debug\Test.exe</FileName>
<WorkingDirectory>C:\Sourcecode\Project\bin\Debug</WorkingDirectory>
<Scope>
<ProcessFilters />
</Scope>
</Argument>
<Info type="PerformanceInfo">
<MeasureType>Sampling</MeasureType>
<MeterKind>Rdtsc</MeterKind>
<InjectInfo>
<SymbolSearch>
<SearchPaths />
</SymbolSearch>
<Scope>
<PatternFilters />
<DenyAttributeFilters />
</Scope>
</InjectInfo>
</Info>
<CoreOptions type="CoreOptions">
<CoreTempPath IsNull="False">
</CoreTempPath>
</CoreOptions>
<HostOptions type="HostOptions">
<HostTempPath IsNull="False">
</HostTempPath>
</HostOptions>
</root>
Run Code Online (Sandbox Code Playgroud)
根据文档,您应该启动此命令行:
ConsoleProfiler.exe xmlfile <path_to_config> --save-to=<path_to_snapshot>
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
677 次 |
| 最近记录: |