The toolbar contains all the actions needed to configure and control the debug process. Below items are described as they appear in the toolbar from left to right.
Control Toolbar
Link with editor -
When enabled, the XML and XSLT/XQuery selectors display the names of the files opened in the
central editor panels. Enabled by default.
XSLT /
XQuery parameters - XSLT / XQuery parameters to be used by the
transformation.
Libraries - Add and remove the Java classes and jars used as XSLT
extensions.
Turn on
profiling - Enables / Disables current transformation profiling.
Enable XHTML output - Enables
the
rendering of
the
output
in
the XHTML output view during the transformation process. For performance issues, disable
XHTML output when working with very large files.
Please note that
only XHTML conformant documents can be rendered by this
view..
In order to view the output result of other formats, such as HTML, save the Text output area
to a file and use
an
external browser for viewing.When starting a debug session from the editor perspective using the Debug Scenario action, the state of this toolbar button reflects the state of the Show as XHTML output option from the scenario.
Turn on/off output to source
mapping - Enables or disables the output to source mapping between every
line of output and
the
instruction element / source context that generated it.
Debugger
Preferences - Quick link to Debugger preferences
page.
XSLT / XQuery engine advanced
options - Advanced options available for
Saxon 9.3.0.5.
Step into
(F7)
- Starts the debugging process and runs until the next stylesheet node or the next XPath 2.0
expression step (next
transformation
step).
Step over
(F8
(Alt+F7 on Mac OS)) - Executes the current stylesheet node
(including its sub-elements) and goes to
the
next node in document order (usually the next sibling of the current node)
or to the
next step of an XPath 2.0 expression.
Step out (Shift + F7) - Steps out to the parent
node (equivalent to the Step over
on the parent).
Run - Starts the
debugging process. The execution of the process is paused when a breakpoint is encountered.
(see breakpoints).
Run to
cursor ((Ctrl +
F5) - Starts the debugging process and runs until one of the
following conditions occur: the line of cursor is reached, a valid breakpoint is reached or
the
execution
ends.
Run to end
((Alt + F5) - Runs the
transformation until the end, without taking into account enabled breakpoints (if any).
Pause
(Shift + F6) - Interrupts the
current transformation. This is useful for long transformations (DocBook for instance) when
you want to find out what point the transformation has reached. The transformation can be
resumed after.
Stop (F6) - Ends the transformation
process.
) or leaving (
) an XML execution node;
) or leaving (
) an XSL execution node;
) or leaving (
) an XPath execution node.