Re: [xsl] Do you run your XSLT code from a debugger? What debugger do you use?

Subject: Re: [xsl] Do you run your XSLT code from a debugger? What debugger do you use?
From: "Wendell Piez wapiez@xxxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 24 Aug 2022 11:40:12 -0000
Hi,

I have a colleague, a Java programmer, who likes the oXygen debugger for
coding XSLT, because he likes the way it shows source and result, but I
mainly only use it when I am deep into some kind of purgatory (places I am
better at staying out of these days), or to run a one-off transformation
without setting up a scenario. (So, similar to Elisa's use case.)

For deeper debugging I tend to use a more classic approach entailing
testing my expressions by breaking them down and messaging. As Mike Kay
suggests, often the problem in XSLT is establishing exactly what is being
matched and why. The debugger can be good for the 'what' but not always the
'why'.

Cheers, Wendell


On Tue, Aug 23, 2022 at 12:54 PM Wegmann, Frank frank.wegmann@xxxxxxxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:

> This is quite interesting that most experts here do not make use of XSLT
> Debugging.
>
> In the past, I did that from time to time, but tried to avoid it, because
> it's so time consuming. But I remember that I had a few lengthy debugging
> sessions when trying to understand exactly how the DocBook XSL work. To see
> which layer of code did what. That considerably helped me to write DocBook
> customizations back in the day.
> Nowadays I rarely do this and also resort to messaging and staring
> intensively at the code until the problem is resolved^^ With my recurring
> XPath issues, I do use oxygen occasionally, but also appreciate BaseX now.
>
> Frank
>
>
> -----Original Message-----
> From: Norm Tovey-Walsh ndw@xxxxxxxxxx <
> xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
> Sent: Tuesday, 23 August 2022 18:11
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: [xsl] Do you run your XSLT code from a debugger? What
> debugger do you use?
>
> "Roger L Costello costello@xxxxxxxxx"
> <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> writes:
> [b&]
> > Do you run your XSLT code from a debugger? If so, what debugger do you
> use?
>
> I donbt think the answer is bneverb, but itbs pretty dang rare and I
donbt
> actually remember the last time I did.
>
>                                         Be seeing you,
>                                           norm
>
> --
> Norman Tovey-Walsh <ndw@xxxxxxxxxx>
> https://nwalsh.com/
>
> > Thanks to words, we have been able to rise above the brutes; and
> > thanks to words, we have often sunk to the level of the
> > demons.--Aldous Huxley
>
>
> Software AG b Sitz/Registered office: UhlandstraCe 12, 64297 Darmstadt,
> Germany b Registergericht/Commercial register: Darmstadt HRB 1562 -
> Vorstand/Management Board: Sanjay Brahmawar (Vorsitzender/Chairman), Dr.
> Elke Frank, Dr. Matthias Heiden, Dr. Stefan Sigg, Dr. Benno Quade, Joshua
> Husk - Aufsichtsratsvorsitzender/Chairman of the Supervisory Board:
> Christian Lucas - https://www.softwareag.com
>
>
>

--
...Wendell Piez... ...wendell -at- nist -dot- gov...
...wendellpiez.com... ...pellucidliterature.org... ...pausepress.org...
...github.com/wendellpiez... ...gitlab.coko.foundation/wendell...

Current Thread