Using Breakpoints; B.7.4 Using Breakpoints - Intel IQ80219 Board Manual

General purpose pci processor evaluation platform
Table of Contents

Advertisement

Intel® IQ80219 General Purpose PCI Processor Evaluation Platform
Getting Started and Debugger
B.7.4

Using Breakpoints

Note the small gray circles on the sidebar beside each line of source code. Single-click any of these
gray circles and a red dot appears. The red dot represents a break point. Single-click the red dot to
remove it, or click the "Remove all breakpoints" icon.
Place a breakpoint on the following lines of code in "blink.c":
displayLED(leds[8],leds[0]);
displayLED(leds[0],leds[3]);
displayLED(leds[3],leds[2]);
displayLED(leds[2],leds[1]);
displayLED(leds[16],leds[16]);
1. Click the "Go" icon.
The yellow arrow stops at the first break point and the HEX display does not change.
2. Click the "Go" icon again.
The last instruction has now been executed and an "80" is displayed.
3. Continue on in this fashion, watching the lines execute only as they are called, while the
yellow arrow shows exactly what line is up next in execution.
4. Click the "Remove all breakpoints" icon
5. Press "Go" again and notice that the program loop is infinite.
6. Press the "Halt" icon
7. Close the debugger and cycle power to the board.
98
/* LED display '80'
/* LED display '03'
/* LED Display '32'
/* LED display '21'
/* LED display ' '
.
to stop execution.
*/
*/
*/
*/
*/
Board Manual

Advertisement

Table of Contents
loading

Table of Contents