Toby Dylan Hocking
About Blog Publications Software Teaching

Debugging C code

February 8, 2023

Today in office hours, I explained how to use valgrind, to a student from my CS105 class. Here is a good tutorial, archive about how to use valgrind to find memory errors, and how to use gdb for debugging.

Another tutorial about gdb in emacs.