Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!

Tracing records with breakpoints

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
TalendSolutionExpert
Contributor II
Contributor II

Tracing records with breakpoints

Last Update:

Feb 9, 2024 2:06:24 PM

Updated By:

Jamie_Gregory

Created date:

Apr 1, 2021 6:23:48 AM

Overview

Talend Studio is an IDE based on Eclipse RCP. It provides a proprietary record trace debugger and allows you 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:

0693p000008uB0sAAE.png

 

Set a breakpoint

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

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

    0693p000008uAr8AAE.png

     

    Note: 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. In this example, if you check Active conditional breakpoint and set a breakpoint in the Condition table, the Job will pause when the value of the Name column equals Mike.

    0693p000008uB7sAAE.png

 

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.

    0693p000008uAkrAAE.png


  2. As the figure shows, the Job pauses when the value of the Name column equals Mike, when it matches the condition of the breakpoint.

    0693p000008uB87AAE.png

 

Result

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

0693p000008uB62AAE.png

 

  • 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
Last update:
‎2024-02-09 02:06 PM
Updated by: