Courseiva
Advanced Debugging →mediumMultiple Choice

UiPath-ADPv1 Advanced Debugging Practice Question

You are debugging a UiPath process that reads a large Excel file into a DataTable and processes each row. During a run, an exception is thrown inside a For Each Row activity, but the exception message is generic. You want to pause execution exactly when the exception occurs, inspect the current row's data, and then resume from the same point without restarting the entire workflow. Which debugging feature should you use?

⚠ Common exam trap

The trap here is assuming that conditional breakpoints or Run to Cursor can catch exceptions automatically, when they only pause based on preconfigured conditions or cursor position.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Enable 'Break on Exception' in the Breakpoints panel and run the workflow in Debug mode.

Break on Exception is designed to pause the debugger the moment an exception is thrown, even if it is caught later. This lets you examine the current state, including variables and the current row, at the exact point of failure. Other options either do not trigger on exceptions or require prior knowledge of the failure location. Thus, enabling Break on Exception and running in Debug mode is the correct approach.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    Enable 'Break on Exception' in the Breakpoints panel and set a breakpoint on the For Each Row activity.

    Why it's wrong here

    Break on Exception pauses only on unhandled exceptions, but the exception here is handled or generic; it does not guarantee a pause at the exact row. Also, setting a breakpoint on the For Each Row activity would pause on every iteration or before the activity, not when the exception is thrown inside it. This approach does not provide the precise inspection point needed.

  • ✗

    Configure a 'Breakpoint' with a condition that checks the row index or a specific column value, then use 'Step Into' when it hits.

    Why it's wrong here

    Conditional breakpoints pause when a specified condition is true, but they do not trigger on exceptions. They are useful for stopping at a particular row, but the scenario requires pausing when the exception is thrown, which may not coincide with the condition. Step Into further executes activities one by one, but it does not automatically catch exceptions.

  • ✗

    Use the 'Run to Cursor' option after placing the cursor on the activity that throws the exception.

    Why it's wrong here

    Run to Cursor executes until the cursor position in the designer, but it does not automatically stop when an exception occurs. You would need to know the exact location beforehand and manually place the cursor there. This is not reliable for unexpected exceptions and does not pause at the moment of failure, so you cannot inspect the current row's data at that instant.

  • ✓

    Enable 'Break on Exception' in the Breakpoints panel and run the workflow in Debug mode.

    Why this is correct

    Break on Exception is a debugging feature that automatically pauses execution when any exception is thrown, regardless of whether it is handled. When the exception occurs inside the For Each Row activity, the debugger stops at the exact activity, allowing you to inspect the current row's data in the Locals panel. You can then resume or step through to diagnose the issue without restarting.

About these practice questions

Courseiva writes every UiPath-ADPv1 question from scratch — 276 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official UiPath exam blueprint

This UiPath-ADPv1 practice question is part of Courseiva's free UiPath certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the UiPath-ADPv1 exam.