WebSphere Message Brokers
File: ag11320_
Writer: John Morris-Smith

Task topic

This build: July 31, 2007 21:29:45

Debug: stepping over source code

Before you start

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

When message flow processing has paused at a breakpoint within ESQL code, Java code, or mappings, you can step over the code.

In a message flow there are three types of node that can contain source code:
  • Nodes that contain ESQL code: Compute node, Filter node, or Database node.
  • Nodes that contain Java code: user-defined node containing Java code, or JavaCompute node.
  • Nodes used to access and maintain mappings: a Mapping node, DataInsert node, DataUpdate node, DataDelete node, Extract node, or Warehouse node.
    Note: Mapping routines are implemented in ESQL; if you step into the code, you can choose either to step through the ESQL code, or to step through the mappings.
  1. Switch to the Debug perspective.
  2. In the Debug view, click the Step Over icon Step over on the toolbar, or right-click the flow stack frame, then click Step over  Step Over.
When you step over code, a single line of source code runs and the flow pauses at the next line of code.

What you can do depends on what type of code is contained within the node:

If the debugger is paused before the last line of code when you step over, the last line of code runs and the debugger automatically pauses at the next breakpoint that is set in the logical processing of the current message. If there is no further breakpoint at which the flow instance can pause, the flow instance runs to completion and is removed from the Debug view.

If you do not want to continue stepping through the code, you can step out of the code, as described in Stepping out of source code.

If you have now finished stepping through and debugging this message flow, you can remove the breakpoints, or end the debug session:

Related concepts
Flow debugger overview
Debug perspective
Related tasks
Debug: running to completion
Debug: stepping into source code
Debug: stepping out of source code
Related reference
Flow debugger shortcuts
Flow debugger icons and symbols
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2007Copyright IBM Corporation 1999, 2007. All Rights Reserved.
This build: July 31, 2007 21:29:45

ag11320_ This topic's URL is: