- Run in Debug mode:
We can choose "Log Activites" and "Highlight Elements" option.
- When we run the process and click on "Open Logs" we see the log activities.
Slow Step: Clicking on it multiple times will cycle through off 1x, 2x, 3x, 4x which are varying levels of execution speed.
Break: We can stop and examine things similar to setting Breakpoints using Step in, Step over etc
Set a Break point and Debug Line by Line
- When we know we have some issue at some point in the Robot, we would like the robot to run quickly and halt where we see issue. Here we need to turn off "Slow Step".
- Go to activity which we need to halt on "Breakpoints"-> "Toggle Breakpoint". A red do appears beside activity.
- If we Run the Robot the breakpoint will be ignored. Whereas if we hit Debug, the robot runs quickly until breakpoint and stops. We can check this in output activities list
- In "Locals" property we can see current value of variable being loop end
Step into: Would help us to move into the code logic inside the activity if any ex: external file in the activity. If we have a loop it will ready one by one file
Step over: will move from one activity to another activity
Continue: Will continue the excecution
F12 will stop.
No comments:
Post a Comment