Using Watches to Debug BPEL Processes

See Also

The Watches window shows the list of XPath expressions that you have chosen to monitor. You add watches either before or during a debugging session. The Watches window displays expressions and their values. The values of the expressions can change as the current execution position advances, depending on the logic of your process.

To set watches in the BPEL process:

  1. (Optional) Be sure that the Watches window is visible or choose Window > Debugging > Watches (Alt-Shift-2) to view it.
  2. If you want to enter an XPath expression from your BPEL process, copy it using one of the following methods:
  3. Right-click inside the Watches window and choose New Watch.
  4. In the Watch Expression field of the New Watch dialog box, do one of the following:
  5. (Optional) If needed, add more watches.
  6. Ensure that a debugging session is running and perform a test run.
  7. As the process instance reaches a breakpoint and becomes suspended, examine the values of the expressions being watched in the Value column of the Watches window.
See Also
Using Breakpoints to Debug BPEL Processes
Starting and Finishing a BPEL Debugging Session
Current Context in the Debugger

Legal Notices