XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Soren HojbjergSubject: Ignores debug breakpoints in XSLT
Author: Soren Hojbjerg
Date: 04 Apr 2013 09:52 AM
I have problems with debugging XSLT in StylusStudio.

Version info as follows:

Build 1910e
Java Virtual Machine: 1.6.0_26
Processor: Saxon 9.4.0.6 (debuggable)

I have a sizeable (1200 line) XSLT where I have activated a number of breakpoints. All breakpoints are in areas where the XSLT has got to run. Regardless of whether I use F5 or green debug symbol, the breakpoints are ignored. The XSLT merely runs. The same happens with a much smaller XSLT.

I can do a trick that will allow single stepping. If I use F5 and quickly click yellow debug symbol, program stops at the first template match, and I can single step with F10 and F11. However, this is not a sustainable method of debugging.

Any hints on how to get over this obstacle?

Postnext
Ivan PedruzziSubject: Ignores debug breakpoints in XSLT
Author: Ivan Pedruzzi
Date: 04 Apr 2013 10:24 AM
Hi Soren,

Thank you for reporting this.

If you debug examples\simpleMappings\sampleBooksToCatalog.xsl does it stop there?

Are you running Saxon in Basic configuration or Schema-aware?
For Schema-aware, is Generate Bytecode enabled?

Does the debugger block with a breakpoint in root template (match="/")?
Do you make use of any extesions?

Thanks
Ivan Pedruzzi
Stylus Studio Team

Postnext
Soren HojbjergSubject: Ignores debug breakpoints in XSLT
Author: Soren Hojbjerg
Date: 05 Apr 2013 03:42 AM
Hi,

Answers to your questions as follows:

If you debug examples\simpleMappings\sampleBooksToCatalog.xsl does it stop there?
- Yes. It stops in this example, if I insert a breakpoint.

Are you running Saxon in Basic configuration or Schema-aware?
- Schema aware.

For Schema-aware, is Generate Bytecode enabled?
- Yes. Generate Bytecode is enabled.

Does the debugger block with a breakpoint in root template (match="/")?
- No. It ignores a breakpoint in the root template on <xsl:template match="/">

Do you make use of any extesions?
- I do not understand this. Extensions? Probabaly not, since I do not know what you are referring to.

Best regards

Soren

Postnext
Soren HojbjergSubject: Ignores debug breakpoints in XSLT
Author: Soren Hojbjerg
Date: 05 Apr 2013 05:01 AM
Hi again, Ivan,

I think this is a memory problem. For the experiment of it, I closed all other open files, and kept only the XSLT in question open. Suddenly the debugger stops at the first breakpoint. It seems to work.

I have seen a number of such problems in the discussion forum. Perhaps a suggested 'fix' is to close unecessary open files and/or break down the XSLT into smaller portions, when encountering this form of behaviour.

I will consider this matter closed.

Best regards

Soren

Posttop
Ivan PedruzziSubject: Ignores debug breakpoints in XSLT
Author: Ivan Pedruzzi
Date: 05 Apr 2013 09:15 AM

We will continue to investigate. At minimum Stylus Studio should detect these conditions and should report some kind of memory error.

Thank you for your help
Ivan Pedruzzi
Stylus Studio Team

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.