
Descriptions of the Different Kinds of Windows and Their Contents
3-18
WATCH windows
WATCH
1:
A0
0x00007f24
2:
X+X
4
3:
PC
0x000079c0
Watch index
Label
Current value
Purpose
Displays the values of selected expressions
Editable?
Yes—you can edit the value of any expression whose value
corresponds to a single storage location (in registers or
memory). In the window above, for example, you could edit
the value of PC but couldn’t edit the value of X+X.
Modes
All modes
Created
With the WA command
Affected by
WA, WD, and WR commands
A WATCH window helps you track the values of arbitrary expressions, vari-
ables, and registers. Although the CPU window displays register contents, you
may not be interested in the values of all these registers. In this situation, it is
convenient to use the WATCH window to track the values of the specific regis-
ters you’re interested in.
To display the values of expressions, variables, or registers, use the WA
command; the syntax is:
wa
expression [,[ label], [display format], window name] ]
-
WA adds
expression to the WATCH window. (If there’s no WATCH window,
then WA also opens a WATCH window.)
-
The
label parameter is optional. When used, it provides a label for the
watched entry. If you don’t use a
label, the debugger displays the expres-
sion in the label field.
-
The
display format parameter is optional. When used, the data is dis-
played in the selected format as shown in Table 7–1 on page 7-17.
-
If you omit the
window name parameter, the debugger displays the ex-
pression in the default WATCH window (labeled WATCH). You can open
additional WATCH windows by using the
window name parameter. When
you open an additional WATCH window, the debugger appends the
win-
dow name to the WATCH window label. You can create as many WATCH
windows as you need.
Содержание TMS320C6 Series
Страница 10: ...x ...
Страница 20: ...xx ...
Страница 118: ...4 20 ...
Страница 144: ...6 16 ...
Страница 164: ...7 20 ...
Страница 170: ...8 6 ...
Страница 284: ...B 18 ...
Страница 290: ...C 6 ...