5.17.5 Set a Breakpoint Sequence (Device Dependent)

A breakpoint sequence is a list of breakpoints that execute, but do not halt, until the last breakpoint is executed. Sequenced Breakpoints can be useful when there is more than one execution path leading to a certain instruction and you only want to exercise one specific path.

Note: To find out what tools and devices support Sequenced Breakpoints, select Help > Release Notes and then Debug Features Support > Hardware Tool Debug Features by Device.

To create a Breakpoint Sequence:

  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 Sequence.
  3. Enter a name for your sequence in the dialog box and click OK.
  4. The breakpoint(s) will appear under the new sequence.
  5. To add additional existing breakpoints to the sequence, right click on the breakpoint and select Complex Breakpoint > Add to Name, where Name is the name of the sequence.
  6. To add new breakpoints to the sequence, right click on the sequence and select New Breakpoint.

To select the Sequence Order:

  1. Expand on a sequence to see all items.
  2. Right click on an item and select Complex Breakpoints > Move Up or Complex Breakpoints > Move Down. Sequence execution of breakpoints is bottom-up; the last breakpoint in the sequence occurs first.

To Remove a Sequence or Breakpoint, either:

  • 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.
Figure 5-31. Breakpoint Sequence Example