PDA

View Full Version : Debugger



Matt Casters
09-14-2007, 03:21 PM
Dear PDI friends,

Once again I'm asking for your opinion on the subject of a new PDI Debugger.
In attachment you'll find a new dialog I'm developping.

As you might have noticed, a pause/resume button was added to Spoon lately.
(somewhere in M2)

Here's what I want to do:
- abolish the current "preview" hooks in BaseStep
- move the preview functionality into the row listeners that already exists
- add the debugging metadata from the dialog into TransExcutionConfiguration
- add row listeners during startup when in debug mode.
- in case the step (+transformation) pauses, we display the last x rows
- the user can click resume.
- no code has to be modified anywhere to provide the hooks. We can just add
to the framework that is already in place.

It should provide a little bit more performance when NOT running in preview
mode if we remove the preview hooks and it should allow us to enhance the
debugging and preview functionality without too much fuss in the future. For
example it would become possible to have scenarios like : grab 100 rows,
display, grab another 100, etc.

I should be able to commit the code on Monday. Before I do so, let me know
what you think about this.

All the best,

Matt
____________________________________________
Matt Casters
Pentaho, Open Source Business Intelligence
http://www.pentaho.org -- mcasters (AT) pentaho (DOT) org
Tel. +32 (0) 486 97 29 37

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "kettle-developers" group.
To post to this group, send email to kettle-developers (AT) googlegroups (DOT) com
To unsubscribe from this group, send email to kettle-developers-unsubscribe (AT) googlegroups (DOT) com
For more options, visit this group at http://groups.google.com/group/kettle-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Nhlanhla Mgoza
09-15-2007, 12:21 AM
Hi Matt.

I give it the thumbs up. My opinion will be this question,

When the step pauses because of the condition, will it allow the user to
change any field value in the row?

Thanks Matt.
Nhlanhla Mgoza


-----Original Message-----
From: kettle-developers (AT) googlegroups (DOT) com
[mailto:kettle-developers (AT) googlegroups (DOT) com] On Behalf Of Matt Casters
Sent: 14 September 2007 12:18 PM
To: kettle-developers
Subject: Debugger


Dear PDI friends,

Once again I'm asking for your opinion on the subject of a new PDI Debugger.
In attachment you'll find a new dialog I'm developping.

As you might have noticed, a pause/resume button was added to Spoon lately.
(somewhere in M2)

Here's what I want to do:
- abolish the current "preview" hooks in BaseStep
- move the preview functionality into the row listeners that already exists
- add the debugging metadata from the dialog into TransExcutionConfiguration
- add row listeners during startup when in debug mode.
- in case the step (+transformation) pauses, we display the last x rows
- the user can click resume.
- no code has to be modified anywhere to provide the hooks. We can just add
to the framework that is already in place.

It should provide a little bit more performance when NOT running in preview
mode if we remove the preview hooks and it should allow us to enhance the
debugging and preview functionality without too much fuss in the future.
For example it would become possible to have scenarios like : grab 100 rows,
display, grab another 100, etc.

I should be able to commit the code on Monday. Before I do so, let me know
what you think about this.

All the best,

Matt
____________________________________________
Matt Casters
Pentaho, Open Source Business Intelligence http://www.pentaho.org --
mcasters (AT) pentaho (DOT) org Tel. +32 (0) 486 97 29 37





--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "kettle-developers" group.
To post to this group, send email to kettle-developers (AT) googlegroups (DOT) com
To unsubscribe from this group, send email to kettle-developers-unsubscribe (AT) googlegroups (DOT) com
For more options, visit this group at http://groups.google.com/group/kettle-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Matt Casters
09-15-2007, 03:22 AM
On Friday 14 September 2007 15:16:18 Nhlanhla Mgoza wrote:
> When the step pauses because of the condition, will it allow the user to
> change any field value in the row?

It's a good idea and option worth considering, but I would consider to do it
post v3.0.0 :-)

All the best,

Matt
____________________________________________
Matt Casters
Pentaho, Open Source Business Intelligence
http://www.pentaho.org -- mcasters (AT) pentaho (DOT) org
Tel. +32 (0) 486 97 29 37

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "kettle-developers" group.
To post to this group, send email to kettle-developers (AT) googlegroups (DOT) com
To unsubscribe from this group, send email to kettle-developers-unsubscribe (AT) googlegroups (DOT) com
For more options, visit this group at http://groups.google.com/group/kettle-developers?hl=en
-~----------~----~----~----~------~----~------~--~---