Child pages
  • XSLT-Debugger

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

Table of Contents

Description

The XSLT-Debugger plugin allows to debug XSLT stylesheets in IntelliJ IDEA with various useful features a debugger should have, including breakpoints, watch expressions, variables display, etc. It is tightly integrated with IDEA which allows it to be efficiently used without much need to familiarize first.

...

An even more advanced debugging tool are trace-breakpoint. They are evaluated just like log-breakpoints, but their result isn't printed into the console. Instead, for each evaluated trace-expression, a special node in the "Structure" tree will be inserted. The contains the evaluation result and indicates the position during the execution of the stylesheet when the breakpoint was triggered.

...

Section
Column
width5%

Column
width1

(tick)

Column

Next, set one or more breakpoints, either with your regular keyboard shortcut or by clicking on the left editor gutter. A breakpoint icon with a little gear will appear.

Section
Column
width5%

Column
width1

(plus)

Column

Optionally specify any properties of the breakpoint, such as an XPath-condition on which it should trigger.

...

Section
Column
width5%

Column
width1

(tick)

Column

Now it's possible to examine the values of parameters and variables, check watch expressions or evaluate custom XPath expressions in the context of the current execution-frame. See the chapters Variables and Watches more information. To inspect the output that has been generated by the stylesheet, please see the chapter XSLT Output.

Section
Column
width5%

Column
width1

(tick)

Column

When you're done with inspecting the current position, you can either resume the execution continue debugging in single-stepping mode with the "Step Over" or "Step Into" actions. See the chapter Execution Control for more information.

Availability

...