| |||
| Home > RealView Debugger Commands > Alphabetical command reference > JOURNAL | |||
The JOURNAL command controls the logging of information displayed in the Cmd tab of the Output pane.
JOURNAL [/A]
[OFF | ON="filename"]
where:
/AAppends information to an existing file.
OFFCloses the journal file and stops collecting information. This is the default setting.
ONStarts writing information to the journal file.
filenameSpecifies the journal filename. If you do not specify
a filename extension, the extension .jou is
used.
Quotation marks are optional if the filename contains only
alphanumeric characters or periods. Filenames that contain a leading
forward slash must be in double quotation marks ("/,
for example). Filenames that contain a leading backward slash must
be in single quotation marks (filename"'\,
for example).filename'
The JOURNAL command starts or stops saving, in a specified file, information displayed in the Cmd tab of the Output pane. The information you can direct to a file includes user command input, resulting output, error messages, and text specifically sent to the journal file.
If the specified file exists and you do not specify the /A parameter,
the existing contents of the file are overwritten and lost.
The JOURNAL command runs asynchronously unless it is in a macro.
The following examples show how how to use JOURNAL:
JOURNAL ON=’c:\temp\log.txt’Start logging output to the file c:\temp\log.txt,
overwriting any existing file of that name.
JOURNAL /A ON="log"Start logging output to the file log.jou in
the current directory of the debugger, appending the new log text
to the file if it already exists.
JOURNAL OFFStop logging output.