Completed
02:10 - Switching Threads and Inspecting Backtraces
Class Central Classrooms beta
YouTube videos curated by Class Central.
Classroom Contents
Debugging Multithreaded C++ and C Programs with GDB and Pthreads - GDB Tutorial
Automatically move to the next video in the Classroom when playback concludes
- 1 00:00 - Intro: Why Multithreaded Debugging is Hard
- 2 00:35 - Launching the C++ Demo Program
- 3 01:25 - Using GDB: Listing and Identifying Threads
- 4 02:10 - Switching Threads and Inspecting Backtraces
- 5 03:05 - Naming Threads with pthread_setname_np
- 6 04:00 - Enabling Scheduler Locking in GDB
- 7 04:45 - Understanding Thread Scheduling Behavior
- 8 05:30 - Controlling Execution with GDB Commands
- 9 06:25 - Diagnosing Deadlocks and Blocking Threads
- 10 07:15 - Inspecting Internal Locks and Shared Memory
- 11 08:10 - Handling Signals and SIGINT
- 12 09:00 - Debugging Spinners and Race Conditions
- 13 10:00 - Cleanly Finishing Thread Execution in GDB
- 14 11:00 - Recap: Thread Debugging Best Practices
- 15 11:45 - Outro: What to Try Next with GDB