Inserting Breakpoints
Breakpoints can be set in XSLT/XQuery documents and XML documents in XSLT/XQuery debugging sessions.
To insert a breakpoint, follow these steps:
-
Click the line where you want to insert the breakpoint in the XML source
document or the XSLT/XQuery document.
You can only set breakpoints on the XML source in XSLT or XQuery debugging sessions.Breakpoints are automatically created on the ending line of a start tag, even if you click a different line.
-
Right-click
the vertical stripe on the left side of the editor panel and select Add
breakpoint.
Once you insert a breakpoint, it is automatically added to the list in the Breakpoints view and you can edit its associated condition. A breakpoint can have an associated break condition that represents an XPath expression evaluated in the current debugger context. In order to be processed, their evaluation result should be a boolean value. A breakpoint with an associated condition only stops the execution of the Debugger if the breakpoint condition is evaluated as true.
Figure: Example: Breakpoints
Tip: You can configure the color and how breakpoints are shown from the Eclipse Annotations preferences page (Window ('Eclipse' on Mac OSX) > Preferences > General > Editors > Text Editors > Annotations).