Specifications

255ADOBE FLEX 3
Building and Deploying Adobe Flex 3 Applications
(fdb) source mycommands.txt
(fdb) source mydir\mycommands.txt
(fdb) source c:\mydir\mycommands.txt
Examining data values
The print command displays values of members such as variables, objects, and properties. This command
excludes functions, static variables, constants, and inaccessible member variables (such as the members of an
Array).
The
print command uses the following syntax:
print [variable_name | object_name[.] | property]
The print command prints the value of the specified variable, object, or property. You can specify the name or
name.property to narrow the results. If fdb can determine the type of the entity, fdb displays the type.
If you specify the
print command on an object, fdb displays a numeric identifier for the object.
To list all the properties of an object, use trailing dot-notation syntax. The following example prints all the
properties of the object myButton:
(fdb) print myButton
To print the value of a single variable, use dot-notation syntax, as the following example shows:
(fdb) print myButton.label
Use the what command to view the context of a variable. The what command has the following syntax:
(fdb) what variable
Use the display command to add an expression to the autodisplay list. Every time debugging stops, fdb prints
the list of expressions in the autodisplay list. The
display command has the following syntax:
(fdb) display [expression]
The expression is the same as the arguments for the print command, as the following example shows:
(fdb) display myButton.color
To view all expressions on the autodisplay list, use the info display command.
To remove an expression from the autodisplay list, use the
undisplay command. The undisplay command has
the following syntax:
(fdb) undisplay [list_num]
Use the undisplay command without an argument to remove all entries on the autodisplay list. Specify one or
more
list_num options separated by spaces to remove numbered entries from the autodisplay list.