debugger profiling

Having trouble installing Oxygen? Got a bug to report? Post it all here.
tgrantham
Posts: 25
Joined: Thu Oct 27, 2011 8:03 pm

debugger profiling

Post by tgrantham »

Hi,

I'm trying to use the profiling capability in the XSLT debugger, but I can't get it to work.

I turn on profiling and then run the transformation scenario. The results appear as expected with no errors, but there is nothing in either the Invocation Tree window or the Hotspots window.

What am I doing wrong?

Thanks,
Tim.
P.S. I have a screen capture I can send you if you need to see it.
ionela
Posts: 402
Joined: Mon Dec 05, 2011 6:08 pm

Re: debugger profiling

Post by ionela »

Hi Tim,

Could you please specify how do you run the transformation in the debugger perspective? You need to use the Run button that is available on the control toolbar.

Regards,
Ionela
Ionela Istodor
oXygen XML Editor and Author Support
tgrantham
Posts: 25
Joined: Thu Oct 27, 2011 8:03 pm

Re: debugger profiling

Post by tgrantham »

Yes, I use the run button. Is there another way to run the transform?
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: debugger profiling

Post by adrian »

Hi,

If you use the Run button it should work as expected (assuming profiling is enabled in the toolbar).
Please watch this video demonstration about XSLT profiling in Oxygen and check if there's anything you're missing from your setup:
Oxygen XSLT Profiling

If the problem persists, please provide more details about your setup.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
tgrantham
Posts: 25
Joined: Thu Oct 27, 2011 8:03 pm

Re: debugger profiling

Post by tgrantham »

I watched the video and I'm not doing anything differently.

Is profiling limited to a single XSLT document? The one I'm trying to profile imports many other stylesheets.

I have no problem with the output to source mapping; it works very well. But the profiling does not work.
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: debugger profiling

Post by adrian »

Hi,

Does the transformation finish successfully (no errors)?
Any other peculiarities about your setup?
What transformation engine are you using?

The profiling is not limited to a single stylesheet. You can profile a complex stylesheet hierarchy.
I just tried profiling a DocBook XSL transformation to HTML and did not encounter any problems.
Can you please test if this works for you?
Open one of the Oxygen DocBook samples (e.g. samples/docbook/v4/sample.xml), associate the DocBook HTML scenario and debug the scenario.

BTW, what version and build of Oxygen are you using (Help > About)?

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply