Running a Job in Java Debug mode - 7.3

Talend Open Studio User Guide

Version
7.3
Language
English
Product
Talend Open Studio for Big Data
Talend Open Studio for Data Integration
Talend Open Studio for Data Quality
Talend Open Studio for ESB
Module
Talend Studio
Content
Design and Development
Last publication date
2023-10-11
Available in...

Open Studio for Big Data

Open Studio for Data Integration

Open Studio for ESB

About this task

To follow step by step the execution of a Job to identify possible bugs, you can run it in Debug mode.

Before running your Job in Debug mode, you can add breakpoints to the major steps of your Job flow. This will allow you to get the Job to automatically stop at each breakpoint. This way, components and their respective variables can be verified individually and debugged if required.

To add breakpoints to a component, right-click it on the design workspace, and select Add breakpoint on the contextual menu.

A pause icon displays next to the component where the break is added.

To access the Debug mode:

Procedure

  1. Click the Run view to access it.
  2. Click the Debug Run tab to access the debug execution modes.
    To switch to debug mode, click the Java Debug button on the Debug Run tab of the Run panel. Talend Studio's main window gets reorganized for debugging.

Results

You can then run the Job step by step and, if you have added breakpoints, check each breakpoint component for the expected behavior and variable values.