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
James IsmailSubject: Breakpoints being ignored
Author: James Ismail
Date: 03 Apr 2008 01:34 PM
I am having a problem with XSLT 2.0 stylesheet processing and debugging. Namely, the breakpoints I am setting are being ignored. Everything was working fine before I needed to switch from XSLT 1.0 to XSLT 2.0. In my scenario, the Saxon 8.7.3 processor is selected - it's the only one that seems to support XSLT 2.0 and clearly states below the selection box in scenario dialog that it "Supports debugging and back-mapping".

Any suggestions?


Build 735d
JVM: 10.0-b19 Java HotSpot(TM) Client VM Sun Microsystems Inc.
debug mode port:8001



Thanks in advance,
James

Postnext
James IsmailSubject: Breakpoints being ignored
Author: James Ismail
Date: 03 Apr 2008 05:23 PM
I just tried processing the same stylesheet with an evaluation copy of SS 2008 (build 1050g) and Saxon 9.0.0.2. Same issue - breakpoints being ignored.

Is there a setting somewhere that I'm missing? Did the "metaInformation" at the bottom of my main xsl file get hosed somehow?


Thanks,
James

Postnext
Ivan PedruzziSubject: Breakpoints being ignored
Author: Ivan Pedruzzi
Date: 03 Apr 2008 09:27 PM
Hi James,

Does it happen only with a specific XSLT or with any?

Would be possible to share your XSLT and a sample of input XML?

Thanks
Ivan Pedruzzi
Stylus Studio Team

Postnext
James IsmailSubject: Breakpoints being ignored
Author: James Ismail
Date: 04 Apr 2008 11:47 AM
Hi Ivan,

I tried using breakpoints on a few of the canned examples that came with SS 8 and the results were the same - breakpoints being ignored.

It would definitely not be possible to share the stylesheets in a public forum as such, and I would have to remove certain functionality before sharing in private. Unless, of course, you guys are willing to sign NDA's etc.


Thanks,
James

Postnext
(Deleted User) Subject: Breakpoints being ignored
Author: (Deleted User)
Date: 04 Apr 2008 10:40 AM
Hi James,
is the JVM string displayed in the About box really "JVM: 10.0-b19"? Is this a standard Sun JRE or is from a different vendor?

Alberto

Postnext
James IsmailSubject: Breakpoints being ignored
Author: James Ismail
Date: 04 Apr 2008 11:52 AM
Hi Alberto,

It is a standard Sun JRE. Here's a cut-and-paste from my SS 2007 install about box, "Java Virtual Machine" entry:

10.0-b19 Java HotSpot(TM) Client VM Sun Microsystems Inc.
debug mode port:8001


And for my SS 2008 install, it reads:

10.0-b19 Java HotSpot(TM) Client VM Sun Microsystems Inc.
debug mode port:8000


Hope that helps,
James

Postnext
Ivan PedruzziSubject: Breakpoints being ignored
Author: Ivan Pedruzzi
Date: 04 Apr 2008 03:08 PM

Sun Microsystem changed the version value assigned to the system property java.vm.version between Java 1.6.0_04 and 1.6.0_05.

Under Java 1.6.0_05, java.vm.version holds an obscure internal value "10.0-b19".

In the upcoming Stylus Studio release we will switch to the java.version system property that holds a more familiar value.

Nevertheless Stylus Studio XSLT debugger works fine on my machine under Java 1.6.0_05.

Ivan Pedruzzi
Stylus Studio Team

Postnext
James IsmailSubject: Breakpoints being ignored
Author: James Ismail
Date: 04 Apr 2008 04:33 PM
Under SS 2007 Tools -> Options -> General -> Java Virtual Machine I have:

Enable JVM: Checked
Runtime Library: C:\Program Files\Java\jre1.6.0_05\bin\client\jvm.dll
Parameters: C:\Program Files\Java\jre1.6.0_05\bin\client\jvm.dll

JDK
Home dir: C:\Program Files\Java\jdk1.6.0
Java Compiler: C:\Program Files\Java\jdk1.6.0\bin\javac.exe

External JVM
Command Line: C:\Program Files\Java\jre1.6.0_05\bin\java.exe
Debugging Parameters: -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=${AutoDetect}


Does that help?


-James

Postnext
Ivan PedruzziSubject: Breakpoints being ignored
Author: Ivan Pedruzzi
Date: 04 Apr 2008 05:09 PM
James,


Do you start the transformation pressing the F5 key or clicking
Debug -> Start Debugging?

Ivan Pedruzzi
Stylus Studio Team

Postnext
James IsmailSubject: Breakpoints being ignored
Author: James Ismail
Date: 04 Apr 2008 05:13 PM
Originally Posted: 04 Apr 2008 05:12 PM
Ivan,

I just tried it all - F5, Debug -> Start Debugging, clicking the the green beetle. Same result (breakpoints being ignored)



-James

Postnext
Ivan PedruzziSubject: Breakpoints being ignored
Author: Ivan Pedruzzi
Date: 04 Apr 2008 05:55 PM
Hi James,

please try the following steps:

- Open from the examples project sampleBooksToCatalog.xsl
- change xsl:version to 2.0
- switch to Saxon 7.x in the scenario dialog
- set breakpoint at line 14
- press F5

Does the debugger stop?


Ivan Pedruzzi
Stylus Studio Team

Posttop
James IsmailSubject: Breakpoints being ignored
Author: James Ismail
Date: 07 Apr 2008 02:50 PM
In SS 2008, there is no Saxon 7.x so I switched to Saxon 9.0.0.2. It worked - the breakpoint was respected.

In SS 2007, there also is no Saxon 7.x so I switched to Saxon 8.7.3. It worked - the breakpoint was respected.


-James

 
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.