
Set Some Breakpoints
2-17
An Introductory Tutorial to the C Source Debugger
Set a software breakpoint and run your program:
1) Scroll to line 42 in the FILE window (the call(newvalue) statement) and
set a breakpoint at that line:
a) Point the mouse cursor at the statement on line 42.
b) Click the left mouse button.
Notice that BP> (for breakpoint)
appears at the beginning of the line and that the line is high-
lighted.
2) Reset the program entry point:
restart
3) Enter the run command:
run
Once again, you should see that some statements are highlighted in the CPU
window, showing that they were changed by program execution. But this time,
you know that the changes were caused by code from the beginning of the
program to line 42 in the FILE window.
Clear the breakpoint:
1) Point the mouse cursor at the statement on line 42. (It should
still be highlighted from setting the breakpoint.)
2) Click the left mouse button.
The line is no longer highlighted.
Содержание TMS320C6 Series
Страница 10: ...x ...
Страница 20: ...xx ...
Страница 118: ...4 20 ...
Страница 144: ...6 16 ...
Страница 164: ...7 20 ...
Страница 170: ...8 6 ...
Страница 284: ...B 18 ...
Страница 290: ...C 6 ...