Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
C programming with threads
·
Module 9
Debugging Multithreaded Programs
1
Debugging Multi-threaded Programs with GDB
Use GDB to inspect the state of multiple threads within a running program.
2
Debugging Multithreaded Application Hangs with GDB
Set thread-specific breakpoints and navigate between thread backtraces in GDB to diagnose hangs.
3
Detecting Data Races with Helgrind
Use Valgrind's Helgrind tool to automatically detect data races in a C program.
4
Detecting Threading Errors with Valgrind DRD
Use Valgrind's DRD tool to detect deadlocks and other threading errors.
5
Detecting Thread-Specific Memory Leaks with Valgrind Memcheck
Use Valgrind's memcheck to detect memory leaks specific to thread resources (e.g., un-joined threads, un-destroyed mutexes).
Previous module
Atomic Operations and Lock-Free Basics
Next module
Performance Analysis and Optimization