Match the gdb command descriptions on the left to the actual commands on the rig
ID: 3831679 • Letter: M
Question
Match the gdb command descriptions on the left to the actual commands on the right, as closely as possible. Traverses to the next line of code; will enter a function. A run Traverses to the next line of code; will step over a function - running all code in it. B where Starts or restarts a debugging session. C print Resume program execution and do not stop until a breakpoint is reached or the program terminates. D next Display the contents of a variable or expression. E step Display the current line and function and the stack trace of calls that got you there. F continueExplanation / Answer
1. Traverses to the next line of code; will enter a function. E. STEP.
2. Traverses to the next line of code; will step over a function - running all code in it. E. STEP.
3. Starts or restarts a debugging session. A. RUN.
4. Resume program execution and do not stop until a breakpoint is reached or the program terminates. F. CONTINUE.
5. Display the contents of a variable or expression. C. PRINT.
6. Display the current line and function and the stack trace of calls that got you there. C. PRINT.
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.