Debugging a Process

The following procedure shows you how to debug a process.

To debug a process:

  1. Choose Run > Open Debug Dialog.
  2. Select a debug configuration.
  3. Click Debug.
  4. If the engine is not running, a dialog to start it appears. Click OK to start the engine.
  5. Choose Run > Launch WorkSpace. This launches your browser. A WorkSpace dialog prompts you to log in.
  6. Log in as a participant with sufficient roles and privileges to execute the portion of the process you are testing. For example, if you inserted a breakpoint in or after an interactive activity, then log in as a participant who can execute that activity.
  7. Create a process instance and move it through the process until it reaches the activity in which you previously inserted a breakpoint in Studio.
  8. Return to Studio.

    Notice the following:


    • The currently executing line is highlighted in the code editor and a small arrow on the left shows the current code pointer.
    • The Debug View displays the current debugging session and call stack.
    • The Variables View displays the variables available in the selected method in the call stack.
  9. Debug your process using the actions in the Debug View. For information about the available actions, see Debugging Actions.