Debugging ESQL

Before you start

Complete the following tasks:

While stepping over the source code in an ESQL node (see Stepping into source code), the ESQL variables are displayed in the Variables view in the Debug Perspective. You can browse them and change their associated data values.

You can also set breakpoints on lines in the ESQL code.

To work with ESQL variables

  1. Switch to the Debug perspective.
  2. Open the Variables view. Variables are shown in a tree, using the symbol Variable.
  3. To work with a variable, right-click it and select an option from the pop-up menu.

To use breakpoints on ESQL code lines

  1. Switch to the Flow Debug perspective.
  2. Open the ESQL editor.
  3. Right-click a line where a breakpoint can be set. You cannot set a breakpoint on a comment line or a blank line.
  4. Select from the menu to create, delete, or restrict the breakpoint, in a similar way to normal debugger breakpoints, as described in Working with breakpoints.

Related concepts
Flow debugger overview

Related tasks
Debugging a message flow
Working with breakpoints
Stepping into source code
Stepping over source code
Stepping out of source code

Related reference
Flow debugger shortcuts
Flow debugger icons and symbols