Debug Mode

The Robot Editor contains a specialized mode for debugging robots. Click Debug Debug Mode or Design Design Mode on the toolbar to switch between design and debug modes. This is also available on the Design Studio Main Window toolbar. Alternatively, to debug from the current step in Design Studio, click Debug.

The top of the Robot Editor in debug mode also contains a Robot view, similar to that of the design mode.

Note The Robot View in debug mode has a current step only when you are actually debugging the robot. This current step is not always the same as the current step in the Robot View in the design mode.

In the main panel, you see the results of the debugging process divided into various tabs.

  • Input/Output: List of all used variables and all values returned during debugging.

  • API Exceptions: List of API exceptions reported during debugging.

  • Log: The processing log generated during debugging. Some actions, particularly those that take a while to execute, such as the Loop Form action, write status information to this log. Step errors are also logged if configured to do so.

  • State: Whenever the debugging process is temporarily stopped, the State tab shows the robot state that is input to the current step. The State tab contains several sub-tabs.

    • Variables: Lists the variables.

    • Window, Cookies, and Authentication: Shows the state with associated dialogs.

    • Local Storage and Session Storage: Shows the HTML5 objects that have persisted locally.

    • API Exception: Generated at the current step. For all API Exceptions (and related errors), you can click the "Go to" button to navigate to the step (in Design mode) that generated the error. The step that generated the error becomes the current step in Design Studio.

  • Summary: An overview of the number of variables returned or written to a database and generated API exceptions so far during the debugging process.

  • Stop When: Specify the criteria required to temporarily stop the debugging process.

  • Steps to Skip: Select steps to skip such as Store in Database, Delete from Database, Execute SQL, Execute Command Line, or Send Email.

For details, see Debugging Robots.