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:

  1. 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.
  2. 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 breakpoint 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.

Example: Breakpoints

Was this helpful?