
Managing Data in a DISP (Display) Window
7-11
Managing Data
7.6
Managing Data in a DISP (Display) Window
The main purpose of the DISP window is to display members of complex,
aggregate data types such as arrays and structures. The debugger shows
DISP windows
only when you specifically request to see DISP windows with
the DISP command (described below). Note that you can have up to 120 DISP
windows open at once. For more details, see
DISP windows on page 3-17.
DISP: str
a
84
b
86
c
172
f1
1
f2
7
f3
0x18740001
f4
[...]
Structure
members
Member
values
This member is an array, and you
can display its contents in a sec-
ond DISP window
DISP: str.f4
[0] 44276127
[1] 1778712578
[2] 555492660
[3] 356713217
[4] 138412802
[5] 182452229
[6] 35659888
[7] 37749506
[8] 134742016
[9] 138412801
Remember, you can use the data-management commands or the debugger’s
overwrite editing capability to modify the contents of any value displayed in a
DISP window. For more information, refer to Section 7.3,
Basic Methods for
Changing Data Values.
Displaying data in a DISP window
disp
To open a DISP window, use the DISP command. Its basic syntax is:
disp
expression
If the
expression is not an array, structure, or pointer (of the form *pointer
name), the DISP command behaves like the ? command. However, if expres-
sion is one of these types, the debugger opens a DISP window to display the
values of the members.
If a DISP window contains a long list of members, you can use
PAGE DOWN
,
PAGE UP
, or arrow keys to scroll through the window. If the window contains an
array of structures, you can use
CONTROL
PAGE DOWN
and
CONTROL
PAGE UP
to
scroll through the array.
Содержание TMS320C6 Series
Страница 10: ...x ...
Страница 20: ...xx ...
Страница 118: ...4 20 ...
Страница 144: ...6 16 ...
Страница 164: ...7 20 ...
Страница 170: ...8 6 ...
Страница 284: ...B 18 ...
Страница 290: ...C 6 ...