The AWE interface provides several features that can be used to help debug a task that is not working as expected.
"Stepping" is the process of executing a task one step at a time. When you click the Run icon (or press F5), task execution may occur so quickly that it is impossible to tell what is happening. Instead, try clicking the Step icon , located to the far right of the Run icon (or press F9). This will execute the step, then wait. This gives you a chance to evaluate the task in several ways:
Examine the contents of your variables by looking at the Variable View of the Debug pane
Examine the states of any watches you have set, using the Watches View of the Debug pane (see below for more information on watches)
Observe what the previous step may (or may not) have done by reading the contents of the Output View.
To execute the next step, click the Step icon again. You can also run the rest of the task at regular speed from this point forward by clicking the Run icon.
Breakpoints are very useful for larger tasks where stepping from the beginning of the task to a point of interest may be tedious and time consuming. Instead, you can tell the task to pause at a specific step by creating a breakpoint at that step. When the breakpoint is encountered, the task will pause. From here, you can follow the recommendations above, including stepping from this point forward by clicking the Step icon, or continuing normal execution by clicking the Run icon.
Watches provide a powerful means for watching the state of variables and expressions in your task. In larger tasks, where script steps, multiple Set Variable steps, or other more complex steps are involved, watches are invaluable for seeing where and how variable values change. A watch can be a variable name to be examined, or it can be a complex expression that is reevaluated as the step executes.