Homework 11
- If you intend to use gdb, what flag must you use when compiling a program, and what does that flag do? (2 points)
- What is a breakpoint? What are breakpoints used for? (2 points)
- How are breakpoints implemented by a debugger? There are two correct answers for this question, one for interpretive debuggers, and one for direct execution debuggers like gdb. Either answer is fine. (2 points)
- What does
bringing the failure close to the fault
mean, and how does it help you find bugs? (4 points)
Submission
Please submit homework 11 by placing your answers in a text file (not MS Word, not PDF, just plain text) and uploading the file to the moodle.