Previous Lecture lect03 Next Lecture

Topics

Code that we’ll be working with

Last lecture, we talked about how to debug using print statements Today, I’ll demo two new debugging tools: gdb and valgrind. We’ll do some exploration with these tools and talk about how a combination of drawing memory diagrams and gdb can help us find bugs in code.