Siebel Business Process Framework: Task UI Guide > Debugging Tasks >
Using Task Debugger
You use the Task Debugger to test a task's performance before deploying it. You work with the Task Debugger behaving as the end user behaves. To debug tasks, you use the Debug Mode in the Siebel client, reading watch windows while moving through the task flow.
You can turn the Debug Mode on or off. You can do this before, during, or after a task.
To debug a task
- Verify that the Debug Mode menu item is enabled in your configuration file (see Enabling Debug Mode).
- Launch the Siebel application client.
- In the Siebel client, from the application-level menu, choose Tools > Debug Mode.
- Click the Open Task Pane icon (in the same row of icons as the Site Map icon) to open the Task Pane.
- From the Task pane, drill down on the task to be debugged.
The task is launched, and the first step in the task (the Start step) is executed.
The Task Properties watch window appears for the selected task, showing the properties for the last-executed step, which in this case is the Start step. Under the name of the task being debugged, there is a line titled Last Action, which indicates the last navigation action (for example, Next).
- Click the Continue button in the watch window.
The next step in the task is executed. If the next step is a task view step, a task view is displayed.
- Click one of the playbar buttons in the task view to continue task execution and debugging.
- Repeat Step 6 and Step 7 to proceed through the debugging of the task.
Debugging terminates when the End step is reached.
- (Optional) To terminate a debugging session during task execution, you can click Stop in the watch window, or click Cancel in a task view.