
Descriptions of the Different Kinds of Windows and Their Contents
3-9
The Debugger Display
FILE window
FILE: sample.c
00001 struct
xxx
{ int a,b,c; int f1 : 2; int f2 : 4; struct xx
00002
str, astr[10], aastr[
00003 union
uuu
{ int u1, u2, u3, u4, u5[6]; struct xxx u6; }
00004 struct
zzz
{ int b1,b2,be,b4,b5; struct xxx q1[2],q2; str
00005
big1, *big2, big3[6];
00006 struct
{ int x,y,z,; int **ptr; float *fptr; char ra[5
00007 enum
yyy
{ RED, GREEN, BLUE } genum, *penum, aenum[5][4]
Text
file
Purpose
Shows any text file you want to display
Editable?
No; if the FILE window displays C code, pressing the edit key
(
F9
) or the left mouse button sets a software breakpoint on
a C statement
Modes
Auto (C display only) and mixed
Created
-
With the FILE command
-
Automatically when you’re in auto or mixed mode and
your program begins executing C code
Affected by
-
FILE, FUNC, and ADDR commands
-
Breakpoint and run commands
You can use the FILE command to display the contents of any file within the
FILE window, but this window is especially useful for viewing C source files.
Whenever you single-step a program or run a program and halt execution, the
FILE window automatically displays the C source associated with the current
point in your program. This overwrites any other file that may have been
displayed in the window.
Within the FILE window, the debugger highlights:
-
The statement that the PC is pointing to (if that line is in the current display)
-
Any statements where you’ve set a software breakpoint
Содержание TMS320C6 Series
Страница 10: ...x ...
Страница 20: ...xx ...
Страница 118: ...4 20 ...
Страница 144: ...6 16 ...
Страница 164: ...7 20 ...
Страница 170: ...8 6 ...
Страница 284: ...B 18 ...
Страница 290: ...C 6 ...