![]() General Trace Configuration Settings |
![]() Virtual Machine |
![]() |
The trace system configuration settings are:
Option Name |
Value |
Default |
Description |
TR_PATH |
Path |
[1] |
Directory name or Filename of destination trace file. |
TR_MAX_FILE_SIZE |
0-50MB |
0 |
If the TR_MAX_FILE_SIZE is set to 0 then TR_MAX_FILES_PER_VM will be ignored and tracing will occur with an unlimited file size. |
TR_MAX_FILES_PER_VM |
1-20 |
1 |
If this parameter is set to 1, a new trace file will be written to until its size reaches set max file size. When it exceeds the max file size writing of tracing lines will restart from the beginning of the trace file. In this case, the timestamping will implicitly be turned on. |
TIMESTAMP |
y/n/h |
N |
Add a time stamp (current time) to start of every trace line. Y = do with default OS precision (1 second typical). H = [Win32 only] High-precision (1 millisecond resolution for NT, 10 millisecond for Win98) |
TR_SIZE |
number |
0 |
Size of intermediate trace buffer (0 = immediate flush to disk) |
TR_SUPPRESS |
y/n |
N |
Suppress trace output. |
TR_CRT |
y/n |
N |
Also "trace to Screen" as well as to trace file (“trace to screen means use the DBWIN code) |
DBWIN |
y/n |
N |
[Win32 only] [Only used if enabled via TR_CRT] Trace to Windows Debugger Window, or Dialog Box |
TR_DTOSF |
y/n |
N |
Trace "Dirty Screen" (_dtosf) flag value. (A ‘+’ is prefixed to every trace line if the flag is on, or a space if off.) [for Internal Use] |
XMALLOC |
y/n |
Y |
Enable Memory allocation Debug & Trace code. (This is a debug rather than trace option; TRACEMEM is used for tracing.) (For most platforms, this option is only functional for a debug kernel.) |
[1] If the trace path end in a directory delimiter character ("/" for Unix; "\" for Windows, then a uniquely named trace file is generated in that directory. The filename is based on the PROIV terminal-id and / or process-id / thread-id, depending on platform.
The default filename is a unique file as above in the kernel’s current working directory. Note that for the NT Server kernel this is typically c:\winnt\system32, so specifying TR_PATH is a good idea for this platform.
Topic ID: 750023