Download TMS320C4x C SOURCE DEBUGGER USER'S GUIDE

Transcript
Alphabetical Summary of Debugger Commands
dlog
Record COMMAND Window Display
Syntax
dlog filename [,{a | w}]
or
dlog close
Menu selection
none
basic debugger
Environments
Description
profiling
The DLOG command allows you to record the information displayed in the
command window into a log file.
-
To begin recording the information shown in the COMMAND window display area, use:
dlog filename
Log files can be executed by using the TAKE command. When you use
DLOG to record the information from the COMMAND window display area
into a log file called filename, the debugger automatically precedes all error or progress messages and command results with a semicolon to turn
them into comments. This way, you can easily re-execute the commands
in your log file by using the TAKE command.
-
To end the recording session, enter:
dlog close
If necessary, you can write over existing log files or append additional information to existing files. The optional parameters of the DLOG command control
how existing log files are used:
-
12-20
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
options; you will lose the contents of an existing file if you don’t use the append (a) option.