MPLAB
®
ICE User’s Guide
DS51159B-page 74
2001 Microchip Technology Inc.
Figure 3.16: Set Hardware Break Point
Run the program by selecting Debug>Run>Run or by clicking the toolbar
green stoplight icon. The status bar on the bottom of the MPLAB IDE window
will change color, indicating that the program is running. When the program
halts, it will change back to its original color.
Notice that the program did not halt on the instruction where you set the break
point. You should see the instruction
call DELAY
highlighted, indicating that
this is the instruction where program execution halted.
This demonstrates that when you use a hardware break point to halt the
processor, you may skid, or one or more additional instructions may be
executed before the processor halts.
3.11 Using the Complex Trigger
The Complex Trigger Settings dialog can be set up to cause:
• a hardware break point, and/or
• a trace memory capture.
Complex trigger settings are preserved with the project when this dialog is
used. Right mouse button menu complex trigger break points are not.
In this tutorial, the complex trigger will first be used as a hardware break point,
and then as a trace memory capture.
Summary of Contents for MPLAB ICE
Page 1: ...2001 Microchip Technology Inc DS51159C MPLAB ICE EMULATOR USER S GUIDE M...
Page 8: ...MPLAB ICE User s Guide DS51159B page viii 2001 Microchip Technology Inc...
Page 18: ...MPLAB ICE User s Guide DS51159B page 18 2001 Microchip Technology Inc NOTES...
Page 36: ...MPLAB ICE User s Guide DS51159B page 36 2001 Microchip Technology Inc NOTES...
Page 58: ...MPLAB ICE User s Guide DS51159B page 58 2001 Microchip Technology Inc NOTES...
Page 80: ...MPLAB ICE User s Guide DS51159B page 80 2001 Microchip Technology Inc NOTES...
Page 126: ...MPLAB ICE User s Guide DS51159B page 126 2001 Microchip Technology Inc NOTES...
Page 140: ...MPLAB ICE User s Guide DS51159B page 140 2001 Microchip Technology Inc NOTES...
Page 158: ...MPLAB ICE User s Guide DS51159B page 158 2001 Microchip Technology Inc NOTES...
Page 189: ...2001 Microchip Technology Inc DS51159B page 189 Index NOTES...
Page 190: ...MPLAB ICE User s Guide DS51159B page 190 2001 Microchip Technology Inc NOTES...
Page 191: ...2001 Microchip Technology Inc DS51159B page 191 Index NOTES...