Searching for attributes
The find command helps to locate attributes among all of the ports available in the debugger environment. You can search by attribute name, attribute type, or both with regular expression matching.
The simplest form of the find command is with no parameters. The attribute-name and
attribute-type parameters both default to *
. The result is a listing of
all attributes in all ports for all operators.
You can specify a string to search for as the field-name.
(sdb) find line
line : rstring defined for Data o 0
lines : int32 defined for Writer i 0
line : rstring defined for CountOneLine i 0
lines : int32 defined for CountOneLine o 0
lines : int32 defined for CountAllLines i 0
lines : int32 defined for CountAllLines o 0
(sdb)
Because the find command uses regular expression
matching, both attributes that are named line
and lines
match
the request.The following example searches for all attributes with a data type
that matches
rstring
.(sdb) find * rstring
line : rstring defined for Data o 0
line : rstring defined for CountOneLine i 0
(sdb)