Tracing records with breakpoints

 Overview

Talend Studio is an IDE based on Eclipse RCP. It provides a proprietary record trace debugger and allows users to run Talend Jobs in Trace mode and in Debug mode, to set a breakpoint on a data flow and to trace records.

Environment

This procedure is compatible with all versions of Talend Data Integration (subscription only).

 Procedure

Create an example Job

Create an example Job called TraceRecordsWithBreakpoint. Use a tFixedFlowInput to generate some source data such as:

1;Shong
2;Elise
3;Dave
4;Mike
5;Pedro

The detailed Job settings are shown in the following figure:

Set a breakpoint

To set a breakpoint on the data flow, proceed as follws:

  1. Right-click on the connector between two components and select Show Breakpoint Setup.

    This feature is available only in Talend Data Integration (on subscription only).

  2. In the Breakpoint tab, check Active conditional breakpoint and/or Use advanced mode to set a breakpoint. For example, if you check Active conditional breakpoint and set a breakpoint in the Condition table, the Job will pause when the value of name column equals to "Mike".

Trace records with breakpoint

Now run the Job in Traces Debug mode and trace records. Follow these steps:

  1. In the Run view, click Debug Run tab, select Traces Debug from the Debug list and click Traces Debug to run the Job.
  2. As the figure showed, the Job pauses while the value of Name column equals to "Mike", it matches the condition of the breakpoint.

Now, you can trace the records by clicking Previous, Next, and Breakpoint.

  • Previous: return back to the previous record.

  • Next: go to the next record.
  • Breakpoint: continue to run and pause until next breakpoint.
  • Basic Run: continue to run until ends.
  • Kill: kill the Job.
Version History
Revision #:
1 of 1
Last update:
‎04-17-2017 10:21 PM
Updated by:
 
Labels (1)
Contributors