Debugging your automations

Debugging is the process of identifying, analyzing, and fixing errors or bugs in your automation. It involves several steps to ensure that your automation functions as intended and meets the desired requirements. It increases developer productivity by reducing the time spent troubleshooting automation issues.

注: Child bot debugging capability is supported with Bot Agent (version 22.60.23 and later) and Task Bot package (version 2.8.0-20230530-152744 and later).

Capabilities

The debug tool within the Assistant provides the following capabilities to help debug an automation.

Debug controls
Use the debug controls to control the debugging of your automation by performing different actions such as start debugging, step in, and step out.
Call Stack
Call Stack is a stack data structure that shows a stack list of all bots, typically displayed from the most recent bot to the oldest. The bot that is currently active is highlighted and shown at the top of the list. The parent bot will always be at the bottom, as you step into the child bots.

You can also quickly navigate through different bots to view the status of automation and understand the flow of execution.

Breakpoints
Use breakpoints to pause the debugging process when you want to pause at a specific line and inspect the values of watched variables and the current state of automation.
Watched variables
Use Watched variables to watch the values of the specific variables when debugging your automations. See Watched variables.

For detailed information about these capabilities, see Debugging tools.