Debugger Preferences
To configure the Debugger preferences, open the Preferences dialog box and go to .
The following options are available:
- Show xsl:result-document output
- If selected, the debugger presents the output of
<xsl:result-document>
instructions into the debugger output view. - Infinite loop detection
- Select this option to receive notifications when an infinite loop occurs during transformation.
- Enable Saxon optimizations
- This option is not selected by default and this means that the optimization for the debugging process is suppressed. This is helpful when reducing the compiling time is important, optimization conflicts with debugging, or optimization causes extension functions with side-effects to behave unpredictably.
- Maximum depth in templates stack
- Allows you to set how many
<xsl:template>
instructions can appear on the current stack. This setting is used by the infinite loop detection. - Debugger layout
- If you select the Horizontal layout, the stack of XML editors is presented on the left half of the editing area while the stack of XSL editors is on the right half. If you select the Vertical layout, the stack of XML editors is presented on the upper half of the editing area while the stack of XSL editors is on the lower half.
- Debugger current instruction pointer
- Allows you to set the background color of the current execution node, both in the document (XML) and XSLT/XQuery views.
- XWatch evaluation timeout (seconds)
- Allows you to specify the maximum time that Oxygen XML Editor allocates to the evaluation of XPath expressions while debugging.
- Messages
- Allows you to specify how to handle the debugging process when the source document
involved in a debugging session is edited. You can choose one of the following:
- Ask me what to do
- Always stop the debugging session
- Never stop the debugging session