
Entering Commands From the Command Line
4-6
Recording information from the display area
The information shown in the display area of the COMMAND window can be
written to a log file. The log file is a system file that contains commands you’ve
entered, their results, and error or progress messages. To record this informa-
tion in a log file, use the DLOG command.
You can execute log files by using the TAKE command. When you use DLOG
to record the information from the display area of the COMMAND window, the
debugger automatically precedes all error or progress messages and com-
mand results with a semicolon to turn them into comments. This way, you can
easily reexecute the commands in your log file by using the TAKE command.
-
To begin recording the information shown in the display area of the
COMMAND window, use:
dlog
filename
This command opens a log file called
filename that the information is
recorded into.
-
To end the recording session, enter:
dlog close
If necessary, you can write over existing log files or append additional informa-
tion to existing files. The extended format for the DLOG command is:
dlog
filename [,{a | w}]
The optional parameters of the DLOG command control how the log file is
created and/or used:
-
Creating a new log file. If you use the DLOG command without one of
the optional parameters, the debugger creates a new file that it records the
information into. If you are recording to a log file already, entering a new
DLOG command and filename closes the previous log file and opens a
new one.
-
Appending to an existing file. Use the a parameter to open an existing
file to which to append the information in the display area.
-
Writing over an existing file. Use the w parameter to open an existing
file to write over the current contents of the file. Note that this is the default
action if you specify an existing filename without using either the a or w
option; you will lose the contents of an existing file if you don’t use the
append (a) option.
Содержание TMS320C6 Series
Страница 10: ...x ...
Страница 20: ...xx ...
Страница 118: ...4 20 ...
Страница 144: ...6 16 ...
Страница 164: ...7 20 ...
Страница 170: ...8 6 ...
Страница 284: ...B 18 ...
Страница 290: ...C 6 ...