Suspend Pattern on a Precise Excel Row
- Context
-
- An Excel file with lines from 1 to 500.
- A pattern that iterates through each sheet, line, and cell.

- Purpose
- You want to debug only lines between 250 and 300.
- Procedure
-
- Set a breakpoint on the resource pattern that is specific to
MSExcel.Row.Note: Applying the title predicate to that resource pattern extracts the line number.
- Edit the breakpoint properties.
- Add the following condition:
namespace dc = http://purl.org/dc/terms/; navigation lineBetween250and300: let s = self.dc:title.toInteger() in s>=250 and s<=300;This condition returns true if the line number is between 250 and 300.
- Click Play to run the debugger.
The debugger breaks at the line 250.
Tip: In the Properties dialog box, enter 5 in the Hit count box for the debugger to break only every 5 times between the lines 250 and 300.
- Set a breakpoint on the resource pattern that is specific to
MSExcel.Row.