Stepping Through the Code

The JavaScript Editor and Debugger works without input data at the IN-port of the component. However, for best results, populate the IN-port with data before using the debugging features.

  1. Validate the script or switch to debug mode.

    A green arrow, pointing initially to line 1, indicates the progress of the execution while stepping.

  2. Make sure the result message in the Task tab displays Successful compilation.
  3. To move to the next line, click the Step icon on the toolbar.

    At any point during stepping, you can inspect the variable name and the current value by selecting the variable in the Navigator,and right-clicking it.