Back To Basics DebuggingB2B DebuggingMost programmers spend most of their time debugging.Everyone knows that debugging is twice as hard as writing a program in the first place. So if you're as clever as you can be when printf()Advice vs tools 1. General advice. 2. Fantastic tools and where to find them.Part 0: What is debugging?Expectations RealityTime between bug and failure What makes bugs hard to fix? Non-deterministic mode gcc: GLIBCXX_DEBUG clang: _LIBCPP_DEBUG 0: Enables most assertions. 1: Enables “iterator debugging”Container Header Debug container Debug header std::bitset bitset __gnu_debug::bitset0 码力 | 32 页 | 1.48 MB | 6 月前3
Back To Basics Debugging and TestingDevelopment Write tests “Debug” the tests DeploySoftware development is basically testing and debugging. done rightGOOD TESTS ARE… ● Independent ● Repeatable ● FastDIFFERENT TESTS – ALL ARE NEEDED you have? ● How deterministic is it?Most programmers spend most of their time debugging.Everyone knows that debugging is twice as hard as writing a program in the first place. So if you're as clever be when you write it, how will you ever debug it? Brian KernighanWhat is debugging?Expectations Reality What is debugging?Time between bug and failure What makes bugs hard to fix? Non-deterministic0 码力 | 50 页 | 2.04 MB | 6 月前3
Back to Basics: Debugging TechniquesBack to Basics: Debugging Techniques Bob Steagall CppCon 2021CppCon 2021 – Back to Basics: Debugging Techniques Copyright © 2021 Bob Steagall The Cost of Software Failures • January 2018, Tricentis’ -- $61B salary -- $1.2T enterprise value lost for shareholders 2CppCon 2021 – Back to Basics: Debugging Techniques Copyright © 2021 Bob Steagall The Cost of Software Failures • Radiation overdoses from 2021 – Back to Basics: Debugging Techniques Copyright © 2021 Bob Steagall Agenda • What are bugs? • What is debugging? • Challenges when debugging • A simple process for debugging • Some recommendations0 码力 | 44 页 | 470.68 KB | 6 月前3
How Meta Made Debugging Async Code Easier with Coroutines and Senders0 码力 | 131 页 | 907.41 KB | 6 月前3
AnEditor Can Do That?most-used code editor Source: Stack Overflow Developer Survey 2021Visual Studio Code - IntelliSense - Debugging - CMake - Make - WSL - SSH - Containers - Free - Cross-platform - Lightweight #1 most-used code support (Raspberry Pi, Surface Pro X, Apple Silicon) 4. CUDA IntelliSense and GPU debugging 5. Disassembly View while debugging Preview!Visual Studio Code What’s new? 1. GitHub Codespaces (coding from your support (Raspberry Pi, Surface Pro X, Apple Silicon) 4. CUDA IntelliSense and GPU debugging 5. Disassembly View while debugging Preview!Visual Studio Code What’s new? 1. GitHub Codespaces (coding from your0 码力 | 71 页 | 2.53 MB | 6 月前3
Things Happening in SG14are good • Things that make C++ more teachable are good • Avoid negative performance impacts • Debugging matters 47Underlying principles • Contributors to this effort have committed to the following are good • Things that make C++ more teachable are good • Avoid negative performance impacts • Debugging matters • Not all suggestions made throughout this process fall into the purview of one or more are good • Things that make C++ more teachable are good • Avoid negative performance impacts • Debugging matters • Not all suggestions made throughout this process fall into the purview of one or more0 码力 | 148 页 | 1009.97 KB | 6 月前3
CROSS PLATFORM PITFALLS AND HOW TO AVOID THEMbuild system generators Dependency management Debugging TestingAgenda Build systems and build system generators Dependency management Demo Debugging Testing DemoBUILD SYSTEMS AND BUILD SYSTEM GENERATORS files and targets)DEBUGGING The problemsDebugging: the problems Unfamiliar with platform specific tools A common theme: teams have a few “Linux devs” who are responsible for all debugging all Linux failures platform specific tools A common theme: teams have a few “Linux devs” who are responsible for all debugging all Linux failures because they are comfortable with GDB Graphical interface vs. command driven0 码力 | 67 页 | 360.44 KB | 6 月前3
A Physical Units Library for the Next C++compiler errors – debugging CppCon 2020 | A Physical Units Library For the Next C++ Requirements 10• Compile-time safety • The best possible user experience – compiler errors – debugging • As fast as Requirements 10• Compile-time safety • The best possible user experience – compiler errors – debugging • As fast as double • Easy extensibility CppCon 2020 | A Physical Units Library For the Next Requirements 10• Compile-time safety • The best possible user experience – compiler errors – debugging • As fast as double • Easy extensibility • No macros in the user interface CppCon 2020 | A Physical0 码力 | 172 页 | 6.17 MB | 6 月前3
Powered by AI: A Cambrian Explosion for C++ Software Development Toolsfrom ./a.out... (gdb-ChatDBG) run Starting program: /media/psf/Home/git/ ChatDBG/a.out [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/ aarch64-linux-gnu/libthread_db from ./a.out... (gdb-ChatDBG) run Starting program: /media/psf/Home/git/ChatDBG/ a.out [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/aarch64- linux-gnu/libthread_db cost: approximately $0.03 USD.) Starting program: /media/psf/Home/git/ChatDBG/ a.out [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/aarch64- linux-gnu/libthread_db0 码力 | 128 页 | 23.40 MB | 6 月前3
What's New in Visual Studio for C++ DevelopersMSVC Toolchain 4. Debugging, Cross-Platform & Source Control https://aka.ms/Visual-StudioVisual Studio Agenda 1. Productivity 2. Game Development 3. MSVC Toolchain 4. Debugging, Cross-Platform & Tab to accept )Visual Studio Agenda 1. Productivity 2. Game Development 3. MSVC Toolchain 4. Debugging, Cross-Platform & Source ControlUnreal Engine IntegrationsDirect Support for Unreal Engine Projects Convention CenterVisual Studio Agenda 1. Productivity 2. Game Development 3. MSVC Toolchain 4. Debugging, Cross-Platform & Source ControlFeature complete • std::optional monadic interface • std::mdspan0 码力 | 46 页 | 4.07 MB | 6 月前3
共 122 条
- 1
- 2
- 3
- 4
- 5
- 6
- 13













