Running a Job in Java Debug mode - Cloud

Talend Cloud Data Management Platform Studio User Guide

Version
Cloud
Language
English (United States)
Product
Talend Cloud
Module
Talend Management Console
Talend Studio
Content
Design and Development

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.