Debug C++ Without Running
Offered By: CppNow via YouTube
Course Description
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
Related Courses
Your Favorite Undefined Behavior in C++CppNow via YouTube Under the Hood - Assembly, System Calls, and Hardware in C++
CppNow via YouTube Carbon Language Successor Strategy - From C++ Interop to Memory Safety
CppNow via YouTube Value Oriented Programming Part 1 - You Say You Want to Write a Function
CppNow via YouTube Introducing a Memory-Safe Successor Language in Large C++ Code Bases
CppNow via YouTube