XSL debugging in Oxygen tutorial

Oxygen general issues.
xchaotic
Posts: 7
Joined: Mon Feb 18, 2008 7:49 pm

XSL debugging in Oxygen tutorial

Post 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
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: XSL debugging in Oxygen tutorial

Post 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
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: XSL debugging in Oxygen tutorial

Post 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
Post Reply