Using the Talend debug mode – row-by-row execution
This recipe will show how we can find Talend data issues by watching the data as it flows between components using the Talend debug mode.
Getting ready
Open the jo_cook_ch10_0030_useDebugMode
job.
How to do it...
The steps for using the Talend debug mode are as follows:
Open the run tab, and select the Debug Run option on the left-hand side as shown in the following screenshot:
Click on Traces Debug and the job will execute, and you can watch the data in the rows as they progress along the main flow of the sub-job until the error is hit, and the job fails.
How it works...
Being able to view the data progressing through the job in real time allows us to see that the third row failed. Because the reported error is a null pointer exception and the only field in the row that has a null pointer is the age, we can confirm if the input age value is incorrect.
There's more…
You will notice that the execution of a job is slowed down considerably by using this...