Which capabilities does Traces Debug provide? Choose 2 answers

Which capabilities does Traces Debug provide? Choose 2 answers
A . Filtering which data is propagated by a flow
B . Advancing one column at a time
C . Breaking on a selected line of code
D . Breaking when an input column fulfills a condition
E . Advancing one row at a time

Answer: D, E

Explanation:

Trace Debug mode is a feature that allows you to trace each row processed by your job components and see the values of each column in each row. You can access this mode by opening the Debug Run tab of the Run view and clicking on Trace Debug button. The capabilities that Trace Debug mode provides are:

Breaking when an input column fulfills a condition. You can set breakpoints on traces based on a condition or an expression that involves input data columns. For example, you can set a breakpoint to pause your job when a customer name contains a certain string or when a product price exceeds a certain value. To set a breakpoint based on a condition, you need to right-click on a trace on your job design workspace and select Show Breakpoint Setup option. This will open a dialog box where you can enter a condition or an expression for your breakpoint.

Advancing one row at a time. You can advance the execution of your job one row at a time by using the Step Over button in the toolbar of the Run view. This will allow you to see how each row is processed by your job components and how it affects the output data.

The capabilities that Trace Debug mode does not provide are:

Filtering which data is propagated by a flow. You cannot filter which data is propagated by a flow in Trace Debug mode. A flow is a link that shows the data transfer between components in your job design workspace. In Trace Debug mode, you can see the data flow on each trace and inspect the values of each column for each row processed by your job. However, you cannot change which rows are propagated by a flow based on a condition or an expression.

Advancing one column at a time. You cannot advance the execution of your job one column at a time in Trace Debug mode. You can only advance the execution of your job one row at a time by using the Step Over button in the toolbar of the Run view. This will allow you to see how each row is processed by your job components and how it affects the output data. However, you cannot see how each column is processed by your job components and how it affects the output data.

Breaking on a selected line of code. You cannot break on a selected line of code in Trace Debug mode. You can only break on a trace based on a condition or an expression that involves input data columns. To break on a selected line of code, you need to use Java Debug mode. Java Debug mode allows you to debug your job code in Java or Perl and see the values of each variable or expression in your code. You can access this mode by switching to the Java perspective and clicking on the Debug button in the toolbar of the Code view.

Reference: Talend Open Studio: Open-source ETL and Free Data Integration | Talend, [Trace Debug mode – 7.3], [Java Debug mode – 7.3]

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments