System Debug Reference Manual (32650-90888)
196 Chapter5
System Debug Command Specifications Fx-LOG
LOG
# Matches any numeric character.
The following are valid name pattern specifications:
@ Matches everything; all names.
pib@ Matches all names that start with "pib".
log2##4 Matches "log2004", "log2754", and so on.
The following regular expressions are equivalent to the patterns with
wildcards that are listed above:
`.*`
`pib.*`
`log2[0-9][0-9]4`
By default, all local variables are listed.
Examples
nmdat > mac sum(p1 p2) {loc temp p1+p2; loclist; ret temp}
nmdat > wl sum (1 2)
var temp : U16 = $3
var loc p2 : U16 = $2
var loc p1 : U16 = $1
$3
This example shows how the LOCLIST command, when executed as part of a macro body,
displays all currently defined local variables. Note that the macro parameters appear as
local variables. Local variables are always listed in the reverse order that they were
created.
Limitations, Restrictions
none
LOG
Controls the recording of user input to the logfile.
Syntax
LOG
LOG [
filename
]
LOG [ON ]
LOG [OFF ]
LOG [CLOSE]
All Debug user input can be recorded to the log file. The log file can be used as a playback
file.