TraceView 命令行接口

Important

TraceView 的命令行接口不包含独立工具中提供的所有最新更新。 It is recommended that you use Tracelog, Tracefmt, and Tracepdb instead.

利用 TraceView 命令行接口,可以从命令提示符窗口控制 TraceView 功能。

命令行接口有三个部分:

TraceView 控件命令
Manage the trace controller features of TraceView. It is similar to Tracelog.

TraceView -process
Manages the trace consumer features of TraceView. It is similar to Tracefmt.

TraceView -parsepdb
通过从 PDB 符号文件提取跟踪消息格式说明来创建跟踪消息格式 (.tmf) 文件。 It is similar to Tracepdb.

批注

TraceView 窗口和 TraceView 命令行接口独立运行,不能互换使用。 可以使用 TraceView 命令行接口来控制使用 TraceView 窗口启动的跟踪会话,但不能使用 TraceView 窗口来控制使用 TraceView 命令行接口启动的跟踪会话。

在命令提示符窗口中提交 TraceView 命令时,TraceView 会为其输出打开新的命令提示符窗口。 不能禁止显示其他窗口。