Specifications

CHAPTER 12
256
You can temporarily disable autodisplay expressions by using the disable display command. The disable
display
command has the following syntax:
(fdb) disable display [display_num]
Specify one or more space-separated numbers as options to disable only those entries in the autodisplay list.
To re-enable the display list, use the
enable display command, which has the same syntax as the disable
display
command.
Changing data values
You can use the set command to assign the value of a variable or a configuration variable. The set command has
the following syntax:
set [expression]
Depending on the variable type, you use different syntax for the expression. The following example sets the
variable
i to the number 3:
(fdb) set i = 3
The following example sets the variable employee.name to the string Reiner:
(fdb) set employee.name = "Reiner"
The following example sets the convenience variable $myVar to the number 20:
(fdb) set $myVar = 20
You use the set command to set the values of fdb configuration variables. For more information, see “Configuring
the command-line debugger” on page 250.
Viewing file contents
You use the list command to view lines of code in the ActionScript files. The list command uses the following
syntax:
list [- | line_num[,line_num] | [file_name:]line_num | file_name[:line_num] |
[file_name:]function_name]
You use the list command to print the lines around the specified function or line of the current file. If you do
not specify an argument,
list prints 10 lines after or around the previous listing. If you specify a filename, but
not a line number,
list assumes line 1.
If you specify a single numeric argument, the
list command lists 10 lines around that line. If you specify more
than one comma-separated numeric argument, the
list command displays lines between and including those
line numbers.