Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Nobody Can Program Correctly - Lessons From 20 Years of Debugging C++ Code

CppCon via YouTube

Overview

Explore a comprehensive conference talk from CppCon 2022 on debugging C++ code, delivered by Sebastian Theophil. Dive into the entire debugging process, starting with a program crash and progressing through reproduction, location, understanding, and fixing of complex bugs. Learn essential questions to ask, information to gather, and tools to utilize in debugging. Gain insights from real-world examples encountered over 20 years of experience. Discover techniques for implementing strict error checking, maintaining bug databases, and handling rare occurrences. Master practical debugging skills, including tracing, binary search, and passive assembly analysis. Understand how to classify and approach both big and small problems in C++ programming. Benefit from Theophil's expertise as a long-time developer at think-cell Software and maintainer of the typescripten project.

Syllabus

Introduction
What is a bug
How do you notice bugs
Implement strict error checking
Bug database
One in a million
First practical example
The debugging process
Reproducibility
desktop environments
error reporting
second quiz
Finding the real problem
Tracing
Binary Search
Debugging Techniques
Debugging Tools
Passive Assembly Skills
Debugging Workflow
Classification
Big Problems
Small Problems

Taught by

CppCon

Reviews

Start your review of Nobody Can Program Correctly - Lessons From 20 Years of Debugging C++ Code

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.