Running a Job in Java Debug mode - Cloud - 8.0

Talend Studio User Guide

Version
Cloud
8.0
Language
English
Product
Talend Big Data
Talend Big Data Platform
Talend Cloud
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Studio
Content
Design and Development
Last publication date
2024-02-29

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 breakpoint is added.

Component with a breakpoint.

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.