Debugging Tasks

For advanced users Automation Anywhere provides a capability to debug the tasks. Go to Debug->Enable Debugging. Use this toolbar to insert breakpoints in your task and debug action-by-action using Step Over (F10) functionality. You can also Set Snappoints in your task which will capture images of the task while it is being executed.(Snappoints is available only in Enterprise Version). Also See Snappoints.

How to Debug?

  1. If you want to run your task in debug mode i.e. one command at a time then you can insert breakpoints next to the command where you want the task to stop.
  2. To insert breakpoints, select the command and insert Breakpoint by clicking F9.
  3. To remove the breakpoint select the command and click F9.
  4. Use Step over feature of Debugging to step over one command at a time.
  5. To clear all breakpoints, click on Clear All Breakpoints button.
  6. To stop the debugging, click on Debug->Disable Debugging.

Note: The debugging information i.e. the breakpoints are not stored; so when you close the editor window, all the breakpoint information will be lost.