Learning Outcomes
By the end of this session, students should:
- Understand the importantance of de-bugging code.
- Know how to use print statements to inspect values of variables to assist de-bugging.
- Be able to use
gdb
to de-bug code at run-time.
- Understand that de-bugging is part and parcel of being a programmer!