Debugging a collaboration

Use the following workflow as a guideline to efficiently debug a collaboration object:

  1. Create the collaboration template, create a collaboration object based on it, deploy both to the InterChange Server Express instance, and make sure that the collaboration object is started.
  2. Start the Collaboration Debugger perspective as described in Starting Collaboration Debugger.
  3. Attach Collaboration Debugger to the collaboration object as described in Attaching Collaboration Debugger.
  4. Set breakpoints in desired locations, as described in Working with breakpoints.

    You will usually find it most useful to set breakpoints on nodes where the flow is being transformed, where the flow is being sent out of the collaboration, and where problematic pieces of logic are located.

  5. Create and send an event such that the collaboration object will be triggered, using either Test Connector or Integrated Test Environment. For more information on Test Connector, see Using Test Connector.

    For more information on Integrated Test Environment, see Using Integrated Test Environment.

  6. Display the submitted event as described in Displaying an event.
  7. Manage the flow across the breakpoints you have configured by using the techniques described in Performing debugging operations.
  8. Use the "Variables" view to watch the data of the event change as it is processed by the collaboration, as described in Working with variables.
  9. Repeat steps 4 through 8 to modify the breakpoints and process flows with different data.

Copyright IBM Corp. 2004, 2005