User manual

Emulation Header Features
2014 Microchip Technology Inc. DS50002243A-page 21
2.7.2 Complex Breakpoint Latched-And
In addition to breakpoint sequences, a Latched-And (hardware AND) is available to
AND a 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.
To create a Breakpoint Latch-And:
1. Right click on an existing breakpoint or shift click to select a group of existing
breakpoints and right click on the group.
2. From the pop-up menu, go to “Complex Breakpoint” and select “Add a New
Latched-And”.
3. Enter a name for your Latched-And in the dialog box and click OK.
4. The breakpoint(s) will appear under the new Latched-And.
To add Existing Breakpoints to a Latch-And:
1. Right click on an existing breakpoint or shift click to select a group of existing
breakpoints and right click on the group.
2. From the pop-up menu, go to “Complex Breakpoint” and select “Move to Name”,
where Name is the name of the Latched-And.
To add a New Breakpoint to a Latch-And:
Right click on the Latched-And and select “New Breakpoint”.
To remove Breakpoints from a Latch-And:
1. Right click on an existing breakpoint or shift click to select a group of existing
breakpoints and right click on the group.
2. From the pop-up menu, go to “Complex Breakpoint” and select “Remove from
Name”, where Name is the name of the Latched-And.
2.7.3 Complex Breakpoint Nesting
Complex breakpoints may be nested to create even more complex breaking schemes.
To nest one group of complex breakpoints into another:
1. Create two groups of complex breakpoints (Sequenced, Latched-And or one of
each).
2. Right click on the complex breakpoint group you wish to nest.
3. From the pop-up menu, go to “Complex Breakpoint” and select “Move to Name”,
where Name is the name of the other complex breakpoint group.
4. The first group will appear under the second group, thus creating a scheme.
FIGURE 2-5: NESTED COMPLEX BREAKPOINTS