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 » Fri Nov 20, 2020 9:06 pm

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: 2736
Joined: Tue May 17, 2005 4:01 pm

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

Post by adrian » Tue Nov 24, 2020 6:09 pm

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