Real C++ projects have many source files, so you need a way to build them consistently. This module starts with build systems: what tools like Make and Ninja do, and how CMake describes a project once so it can be built on any platform.
It then moves to debugging. You will learn how to use GDB to run a program step by step, set breakpoints, and inspect variables to find out why code does not behave the way you expect.
Watch the lessons in order, then continue on to Testing & Performance.
A beginner-friendly overview of C++ build tools such as CMake, Make and Ninja, and how they fit together.
How to set up a simple CMake project with several source files and build it.
How to compile with debugging information, start GDB, and step through a program to find bugs.
Setting breakpoints from the command line and using commands that print values and continue automatically.