Prerequisite: 102


Course Materials

IRC #gnome-university

This course will cover the basics of debugging using gdb, strace, vmstat, and other tools found on a Linux system. The student will learn how to choose a particular tool based on the bug they are trying to solve. Students will become proficient in using gdb and strace to analyze existing or new processes.

Students will work through the following chapters and perform the exercises. Questions may be asked of the mentor as well as the community on IRC.


These need to be organized into chapters. Feel free to add topics.

  • gdb
    • backtrace
    • frame
    • disassemble
    • printing and tab-completing types
    • core dumps
    • symbols
  • strace
    • what is a system call and why might we want to trace them?
  • ltrace
  • perf
  • vmstat
  • iostat
  • valgrind

Chapter 1

Chapter 2

Chapter 3

Chapter 4

Chapter 5

Chapter 6

Chapter 7

Chapter 8

Chapter 9

Chapter 10

Outreach/GnomeUniversity/C/Debugging (last edited 2014-08-30 12:31:05 by GergelyPolonkai)