Using the BPEL Designer and Service Engine

Steps in Debugging BPEL Processes

The main steps in debugging BPEL processes are:

  1. Confirm that the GlassFish application server has started.

  2. Create test cases.

    For sample processes, test cases are automatically created; for new projects, you need to create at least one test case.

  3. Open the BPEL process file either in the Source view or Design view.

  4. Set breakpoints in the code or on the diagram. Optionally, add watches for XPath expressions in your process or add fault breakpoints.

  5. Start a debugging session. Watch the BPEL Debugger Console window for confirmation that the debugging session has started.

  6. Within the debugging session, run one or several test cases.

  7. View execution of BPEL processes on the diagram in the Design view or in the BPEL Process Execution window and view running instances of BPEL processes in the BPEL Process Instances window.

  8. When an instance stops at a breakpoint, step through the code or the diagram, examine the values of variables in the BPEL Variables window, or observe the values of XPath expressions in the Watches window.

  9. Finish the debugging session.