User manual

Using the Emulator as a Debugger
© 2006 Microchip Technology Inc. DS51616A-page 33
Once a breakpoint has been added to the window, you may right click on it to open a
menu of options:
Delete – delete selected breakpoint
Edit/View – open the Set Breakpoint Dialog
Delete All – delete all listed breakpoints
Disable All – disable all listed breakpoints
5.7.1.2 BREAKPOINT DIALOG BUTTONS
Use the buttons to add a breakpoint and set up additional break conditions. Also, a
stopwatch is available for use with breakpoints and triggers.
5.7.2 Set Breakpoint Dialog
Select a breakpoint for the Breakpoints Dialog here.
5.7.2.1 PROGRAM MEMORY TAB
Set up a program memory breakpoint here.
TABLE 5-2: BREAKPOINT DIALOG BUTTONS
Control Function Related Dialog
Add Breakpoint Add a breakpoint Section 5.7.2 “Set Breakpoint
Dialog”
Stopwatch Set up the stopwatch Section 5.7.3 “Stopwatch Dia-
log”
Event Breakpoints Set up break on an event Section 5.7.4 “Event Break-
points Dialog”
Sequenced Breakpoints Set up a sequence till break Section 5.7.5 “Sequenced
Breakpoints Dialog”
ANDED Breakpoints Set up ANDED condition till
break
Section 5.7.6 “AND Dialog”
TABLE 5-3: PROGRAM MEMORY BREAKPOINT
Control Function
Address Location of breakpoint in hex
Breakpoint Type The type of program memory breakpoint. See the device data
sheet for more information on table reads/writes.
Program Memory Execution
break on execution of above
address
TBLRD Program Memory break on table read of above address
TBLWT Program Memory
break on table write to above address
Pass Count Break on pass count condition.
Always break
always break as specified in “Breakpoint type”
Break occurs Count instructions after Event
wait Count (0-255)
instructions before breaking after event specified in “Breakpoint
type”
Event must occur Count times
break only after event specified in
“Breakpoint type” occurs Count (0-255) times