Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-incubator-dev] Breakpoints on XML files

OK - I've added it...but I'm not sure how to make use of it!

Breakpoints on the stylesheet are simple - just listen to trace events and we are guaranteed to hit every node in the stylesheet and therefore all breakpoints in the stylesheet.

But trace events are not fired for every node in the _source_ document, so breakpoints on source nodes will frequently be missed...not sure how to solve this one??


----- Original Message ----
From: Jesper Steen Møller <jesper@xxxxxxxxxxxxx>
To: WTP Incubator Dev list <wtp-incubator-dev@xxxxxxxxxxx>
Sent: Monday, 4 February, 2008 9:48:13 PM
Subject: Re: [wtp-incubator-dev] Breakpoints on XML files

DOUG SATCHWELL wrote:
> I can quite easily add the ability to put breakpoints onto source XML
> files. There is one potential dilemma though - how does the user know
> what _kind_ of breakpoint is on the file?
>
> For instance, what if a different language (Ant?) were to allow users
> to add breakpoints to XML files too. Is there some way to
> differentiate between the 2 sorts of breakpoint? Obviously, only XSL
> breakpoints will work for XSL debugging.
A line can have multiple markers in the leftmost column. If you hover
over the breakpoint, a tooltip text will explain the icons mushed
together underneath.
I assume you will need a different action for setting XML breakpoints?
> Has anyone got any thoughts on this, or shall I just go ahead and
> allow breakpoints to be added to XML files anyway?
Please, please - go ahead.

-Jesper

_______________________________________________
wtp-incubator-dev mailing list
wtp-incubator-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-incubator-dev


Back to the top