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

YouTube

Debug C++ Without Running

CppNow via YouTube

Overview

Explore advanced debugging techniques for C++ without running the code in this 40-minute conference talk from C++Now 2018. Learn how to navigate complex C++ features like macros, templates, and compile-time evaluation that often obscure the final compiled code. Discover innovative approaches to macro and typedef debugging, type inference with auto/decltype, and handling preprocessor-dependent code branches. Gain insights into tools and workflows that can enhance C++ development, with demonstrations of features implemented in CLion and ReSharper C++. Understand how to improve code transparency, optimize includes, and prepare for upcoming C++ modules, ultimately enabling more efficient creation of modern C++ code.

Syllabus

Introduction
Agenda
Tricky Samples
The Quote
The Example
Transformation
Macros
Overloading operators
Function overloads
Why we need transparency
Macro debugging
Macro substitution
Type debugging
Type substitution
Templates
Dream
Operators
Overloads
Candidates
Navigating Similar Functions
Includes
Includes Profiler
Includes Optimization Tools
Modules

Taught by

CppNow

Reviews

Start your review of Debug C++ Without Running

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.