Adding breakpoints in the flow debugger

Add breakpoints to connections in your message flow to control where flow processing will pause.

Before you start:

Attach the flow debugger to the execution group where your flow is deployed. See: Attaching the flow debugger to an execution group for debugging.

You can add breakpoints to the connections of a message flow that is open in the Message Flow editor. Each breakpoint that you add to a flow is also automatically added to all other instances of the flow and you do not need to restart any of the instances.

Every breakpoint is automatically enabled when you add it to a connection and the connection is flagged with the enabled breakpoint symbol Enabled breakpoint.

Start of changeManually set a breakpoint after the collector node or any other multithreaded node. When you use the Debug perspective on the node, you see that the thread has been ended.End of change

To add breakpoints to the connections of a message flow:

  1. Switch to the Debug perspective.
  2. Add breakpoints to the appropriate connections. Use any of the following methods:
    Option Method
    Add breakpoints individually to selected connections.
    1. In the Message Flow editor, right-click the connection where you want to set the breakpoint.
    2. Click Add Breakpoint.
    Add breakpoints simultaneously to all connections entering a selected node.
    1. In the Message Flow editor, right-click the node before which you want to set breakpoints.
    2. Click Add Breakpoints Before Node.
    Add breakpoints simultaneously to all connections leaving a selected node.
    1. In the Message Flow editor, right-click the node after which you want to set breakpoints.
    2. Click Add Breakpoints After Node.

Next:

After you have set one or more breakpoints in the message flow, step through the flow, pausing at each active breakpoint. See: Stepping through message flow instances in the debugger.

You can also examine message data, code, and mappings at appropriate points. See: Debugging data.

Related concepts
Flow debugger overview
Related tasks
Restricting breakpoints in the flow debugger to specific flow instances
Enabling and disabling breakpoints in the flow debugger
Removing breakpoints in the flow debugger
Stepping through message flow instances in the debugger
Debugging data
Related reference
Flow debugger shortcuts
Flow debugger icons and symbols
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2009Copyright IBM Corporation 1999, 2009.
Last updated : 2009-01-07 15:21:54

ag11210_