QuestionQ552

VerifiedUiPath Automation Development

When a developer examines a suspended state after reaching a breakpoint, to which activity will the Executor be directed if Step Out is selected from the Debug section of UiPath Studio’s ribbon interface?

Question Image

Explanation

The breakpoint is on activity A1, which lives inside container S3 (S3 is the only child of S2). Per UiPath's documentation, Step Out completes the execution of all remaining activities in the current container and then pauses at the next activity FOLLOWING that container, not within it. Completing S3 also finishes its parent S2 (since S3 is S2's only activity), so the executor is directed to the next activity in execution order, which is S4. Step Into would instead descend into the If's Then branch (W1), and Continue would run to completion, so neither S3 nor A1 is correct. Both Step Over and Step Out coincide on S4 here because A1 is the last activity in its container.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!