这样将为跟踪输出添加一些变化,以说明该技术的强大能力。
This will add some variety to the trace output to illustrate the power of the technique.
跟踪输出包含由连字符分隔的记录。
跟踪输出正变得有点冗长,是不是?
msgflow的跟踪输出。
msgflow 的跟踪输出
列表4展示了跟踪输出的样例,使模拟生效。
Listing 4 shows a sample output of the trace that validates the simulation.
在跟踪输出中加入的方法调用的最小测量时间。
The minimum measured time for a method call to be included in the trace output.
通过上面的示例跟踪输出,可以看到。
但是可通过一个配置文件更改配置跟踪输出目录。
However the trace output directory can be configured through a configuration file change.
选择跟踪输出是写到文件,还是写到内存缓冲区。
Select whether the Trace Output is written to a File or to Memory Buffer.
最后,我改变了跟踪输出的格式以使它更具可读性。
Finally, I changed the formatting of the trace output to make it a little more readable.
有了这个附加的内容,典型的跟踪输出将类似如下。
With this addition, a typical tracing output line looks like this.
msgflow的跟踪输出可以在两个文件中找到。
The trace output for Delimited. Msgflow can be found in two files.
跟踪开关用于启用、禁用和筛选跟踪输出。
Trace switches allow you to enable, disable, and filter tracing output.
开发者应该密切关注需要为跟踪输出把数据打包的情形。
Developers should pay close attention to scenarios where data needs to be wrapped for trace output.
确定显示跟踪输出的位置并添加相应的侦听器。
Determine where you want the tracing output to appear and add the appropriate listeners.
在调用有错误的例程之后,我们收到一个格式化的跟踪输出。
After calling the failing routine we then retrieve a formatted trace output.
考虑在部署应用程序后将在现场接收哪种跟踪输出。
Consider which tracing output you will want to receive onsite after you have deployed the application.
这个让开发人员决定哪些类将被包括在跟踪输出结果中。
This lets the developer decide which classes to include in the trace output.
这里是方法跟踪输出的一个示例(用前面一段的第二个命令行)。
Here is a sample of method trace output (using the second command line from the previous section).
每一个找到的要展开的宏都会在跟踪输出中增加一级缩入。
Every found macro to expand will add an additional indentation level inside the trace output.
跟踪输出显示了ID 为 000000a 的单线程流程的情况。
The trace output shows a single threaded process with ID 000000a.
例如,清单3中跟踪输出示例中最后两个事件的运行时间是2.0001秒。
For example, the elapsed time between the last two events in the sample trace output in Listing 3 finished was 2.0001 seconds.
生成的跟踪输出非常详细,可以跟踪实际的宏展开过程中的每一步。
The generated trace output is very verbose, but allows to follow every step of the actual macro expansion process.
您将检查跟踪输出,然后包含将帮助您查明页错误的自定义跟踪消息。
You will examine tracing output, and then include custom tracing messages that will help you pinpoint page errors.
跟踪运行时,SQL跟踪使用跟踪输出中的数据列来描述返回的事件。
SQL trace USES data columns in the trace output to describe events that are returned when the trace runs.
接下来,我们将看一些实际的场景,将在其中使用跟踪输出帮助调试问题。
Next, we will review some real scenarios where the trace output will help to debug a problem.
显然,您可以编写样式表来扫描整个跟踪输出,查找注释以及对它们进行排序和计数。
Obviously, you could write a stylesheet that scanned through the traced output, found the comments, and sorted and counted them.
现在您可以搜集分析数据了,但是您应该在什么地方打开或关闭您的跟踪输出文件呢?
Now you can collect profiling data, but where do you open and close your trace output file?
在使用IBM的跟踪设施时,需要决定的第一件事是应该将跟踪输出定向到哪个目的地。
When you're using the IBM trace facilities, the first thing that you need to determine is the destination to which the trace output should be directed.
应用推荐