debugging one's custom tags [message #41414] |
Wed, 06 February 2008 12:57  |
Eclipse User |
|
|
|
I was hoping to launch my usual transformation in 'debug' mode rather
than 'run' and to be able to set breakpoints in my custom tags code.
I can't see a way to do this.
Am I missing something ?
What do the JET developers do ?
Edoardo
|
|
|
|
Re: debugging one's custom tags [message #41642 is a reply to message #41517] |
Fri, 08 February 2008 07:43  |
Eclipse User |
|
|
|
Thanks I managed to debug!
Paul Elder wrote:
> Edoardo:
>
> No, there is no debug mode. (Are there any volunteers to write a JET
> debugger?)
>
> If, as your subject line suggests, you are debugging custom tags, launch a
> 'runtime' workbench (in debug), and put break points in the JET tag handler
> methods you are working on. Then run a JET transformation from that runtime
> workbench. Note that the JET transformation can be in you development
> workbench - it is a plug-in, and can be included in the runtime workbench as
> any other.
>
> Other things I do for debugging are:
>
> 1) use <c:log></c:log> to write debug messages in my templates.
>
> 2) In the jet launch config, set the logging level to trace or debug - this
> generates a whole lot more information on the execution consule. (The
> utility of that information may be debated.)
>
> It has been several years since I have put breakpoints directly in the Java
> code generated from a template (but then, I never write in-line Java
> scriptlets or expressions).
>
> Paul
>
> "Edoardo Comar" <ecomar@uk.ibm.com> wrote in message
> news:focsdl$kpi$1@build.eclipse.org...
>> I was hoping to launch my usual transformation in 'debug' mode rather than
>> 'run' and to be able to set breakpoints in my custom tags code.
>>
>> I can't see a way to do this.
>> Am I missing something ?
>> What do the JET developers do ?
>>
>> Edoardo
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03498 seconds