5.17.6 Set a Breakpoint Tuple (Device Dependent)
For MPLAB X IDE, a tuple represents an ANDed list of breakpoints. ANDed breakpoints can be useful when a variable is modified in more than one location and you need to break only when that variable is modified in one particular location.
Only two breakpoints can be ANDed and these must consist of one program memory breakpoint and one data memory breakpoint. Breakpoint 1 AND breakpoint 2 must occur at the same time before a program halt.
Note: To find out what tools and devices support Breakpoint Tuples,
select and then .
To Create a Breakpoint Tuple:
- Click on the Create New Breakpoint icon in the upper left of the Breakpoints window to open the New Breakpoint dialog.
- Create an address breakpoint. Click OK to add it to the Breakpoints window.
- Repeat steps 1 and 2 to create a data breakpoint.
- Right click on one breakpoint and select .
- Enter a name for your tuple in the dialog box and click OK.
- The breakpoint will appear under the new tuple.
- Right click on the other breakpoint and select , where Name is the name of the tuple.
To Remove a Tuple or Breakpoint, do one of the following:
- Right click on the item and select Disable to temporarily remove the item.
- Right click on the item and select Delete to permanently remove the item.