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 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Richard PottsSubject: Limitation to variable value in debug?
Author: Richard Potts
Date: 26 May 2006 06:44 AM
When running in debug, and looking at the variable DTCPagePINs, ( It is a concatenation of all DTCPin elements so I'm expecting a very long string to be generated - so I don't expect it to be viewable on screen so I did a right click 'copy' of the 'value' field and pasted it to notepad and it gives me: "C188 - 1Internal to ECUInternal to ECUInternal to ECUInternal to ECUn/aInternal to ECUInternal to EC" - I believe this is a truncation of the actual value. Limitation in length of displayed variable?

<xsl:variable name="DTCPagePINs">
<xsl:for-each select="//DTCs/DTC/DTCFailures/FailureByte/DTCPin">
<xsl:value-of select="."></xsl:value-of>
</xsl:for-each>
</xsl:variable>

See attached screen shot.


Using built in xsl processor.
SS Enterprise.


Documentssbreakpoint.doc

Postnext
Minollo I.Subject: Limitation to variable value in debug?
Author: Minollo I.
Date: 26 May 2006 01:47 PM
Yes, the value is truncated to 100 characters.

In the coming Release 3 version (mid June), you'll be able to control that value.

Minollo

Posttop
Ivan PedruzziSubject: Limitation to variable value in debug?
Author: Ivan Pedruzzi
Date: 26 May 2006 02:25 PM
Hi Richard,

Yes the Watch window truncates the value for performance reason.

If you need to capture a large fragment during debugging you could consider using xsl:message. When executing inside Stylus Studio messages are captured in the Output window, from there you can do Copy.

<xsl:message>
<xsl:value-of select="$a"/>
</xsl:message>

Hope this helps
Ivan Pedruzzi
Stylus Studio Team

 
Topic Page 1 2 3 4 5 6 7 8 9 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.