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 code icon on the toolbar (or right-click on the flow stack frame and then click Step into Step Into). The Message 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 frame shows the list of mapping commands and the current command. The Variables view shows your user-defined mapping variables, along with the input message (that is, the Debug Message). You can alter the user-defined variables.

When you have finished debugging the mapping, the message flow ends in the usual manner.

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