Debugging mappings

Before you start

To complete this task, you must have completed the following tasks:

This topic describes how to debug a flow with mappings.

To check the mapping routines:

  1. Switch to the Flow Debug perspective.
  2. In the Flow Debug view, click the Step into Source Code Step into Source Code icon on the toolbar (or right-click on the flow stack frame and then click Step Into Step Into). The perspective changes from Flow Debug to Debug, and the Message Flow Mapping editor opens with the mapping routine highlighted in both the Mapping editor and the Outline view.
  3. Check the mapping routines by performing the various stepping actions (step into, step over, and step return). While you are doing this, in the Debug view, the stack shows the mapping routine that is being executed, with the ESQL code fragments, and the Variables view shows the source and target messages, along with the input message (that is, the Debug Message).

When you have finished debugging the mapping, the perspective changes back to Flow Debug and the message flow ends in the usual manner.

Related concepts
Flow debugger overview
Message Flow Mapping editor
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