Debugger XSLT - Can't step over xsl:variable

Oxygen general issues.
arkamy
Posts: 3
Joined: Fri Nov 20, 2020 8:41 pm

Debugger XSLT - Can't step over xsl:variable

Post by arkamy »

Hi,

I can't step over xsl:variable during debugging. Instead the process runs to end.
FYI, it's working if we use saxon:assign instead.
Tested in oxygen 23.0 (not working too in oxygen 17->22)

Any ideas of the reason ?
Thanks
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: Debugger XSLT - Can't step over xsl:variable

Post by adrian »

Hi,

Note that Saxon performs numerous optimizations one of which is removing unreachable/unused code.

Is the variable used in any way? Try using the variable in some way, if that's the case.
If that's not the case, could you maybe provide an example of the context where this happens?

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply