📢 Too many exams? Don’t know which one suits you best? Book Your Free Expert 👉 call Now!


    Question

    What is the primary purpose of setting a "breakpoint" in

    a debugger?
    A To mark a line of code for deletion. Correct Answer Incorrect Answer
    B To pause the program's execution at a specific line of code. Correct Answer Incorrect Answer
    C To highlight syntax errors. Correct Answer Incorrect Answer
    D To automatically fix bugs. Correct Answer Incorrect Answer
    E To optimize code performance. Correct Answer Incorrect Answer

    Solution

    A breakpoint is a deliberate stopping or pausing place in a program, set for the purpose of debugging. When the program execution reaches a breakpoint, it pauses, allowing the developer to inspect the program's state (variables, call stack, etc.).

    Practice Next
    ask-question