Page 1 of 1

XSL debugging in Oxygen tutorial

Posted: Mon Apr 07, 2008 3:02 pm
by xchaotic
Hi.

I often struggle with XSL transformations, often not written by me and I usually spend most of the time pinpointing where the problem is.

I feel I am not taking full advantage of the XSL debugging capabilities found in Oxygen. In fact I rarely switch to debug view.

Is there a resource somewhere on the web, other than chapters 10 and 11 in the user guide that teaches how to effectively use debugging capabilities in Oxygen, or debugging XSL in general?

Thanks in advance for any pointers.

So far I have found these to be useful:

http://www.dpawson.co.uk/xsl/sect2/N2126.html
http://oxygenxml.com/demo/profiling/XSLT_profiling.html
http://oxygenxml.com/demo/XslRefactorin ... oring.html
http://oxygenxml.com/demo/XslEditing/XSLEditing.html

Re: XSL debugging in Oxygen tutorial

Posted: Mon Apr 07, 2008 4:21 pm
by sorin_ristache
Hello,

We do not have a general XSLT debugging tutorial but we will consider adding such a tutorial to the list of demo videos. You should place some breakpoints where you want to stop the execution. When the execution stops at a breakpoint you should watch some variables in the Variables view or some XPath expressions in the XWatch view. The values are refreshed when you press the buttons Step Into, Step Over, Step Out, etc. The other views (Trace, Stack, Templates, etc) may help you too.


Regards,
Sorin

Re: XSL debugging in Oxygen tutorial

Posted: Tue Mar 03, 2009 5:32 pm
by sorin_ristache
xchaotic wrote:Is there a resource somewhere on the web, other than chapters 10 and 11 in the user guide that teaches how to effectively use debugging capabilities in Oxygen, or debugging XSL in general?
See the XSLT debugger tutorial that we added to the Documentation page.


Regards,
Sorin