Back To Basics Debugging## +23 ## Back To Basics Debugging ## GREG LAW ## 20 23 October 01 - 06 ## 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 as you can be when you write it, how will you ever debug it? Brian Kernighan 14b53cd35ab29d4c945744f3a56/p5_1.jpg) ## Advice vs tools 1. General advice. 2. Fantastic tools and where to find them. Part 0: What is debugging? ## Reality   - We can use it in bpf/verifier.c to do printf based debugging ● Sometimes it’s better than messing around with pointers in gdb ## Thank you!0 码力 | 10 页 | 233.09 KB | 1 年前3
Back to Basics: Debugging Techniques## Back to Basics: Debugging Techniques Bob Steagall CppCon 2021 KEWB COMPUTING ## The Cost of Software Failures ## • January 2018, Tricentis’ Software Fail Watch documents 606 software failures in System component design flaws ## Agenda • What are bugs? • What is debugging? • Challenges when debugging • A simple process for debugging • Some recommendations ## DANGER XING ## Opinions lie ahead! ## violated • This viewpoint is very common in regulated industries ## What is Debugging? ## • Wikipedia says: "... debugging is the process of finding and resolving bugs (defects or problems that prevent0 码力 | 44 页 | 470.68 KB | 1 年前3
Back To Basics Debugging and Testing## +24 ## Back To Basics Debugging and Testing ## GREG LAW & MIKE SHAH ### Writing software is really hard. If it’s not tested, it doesn’t work Or at least it will soon stop working. ## WHAT'S BUT WHEN I DO, DO IT IN PRODUCTION Software development done right is basically testing and debugging. ## GOOD TESTS ARE • Independent • Repeatable Fast ## DIFFERENT TESTS — ALL ARE NEEDED Unit Most programmers spend most of their time debugging  Everyone knows that debugging is twice as hard as writing a program in0 码力 | 50 页 | 2.04 MB | 1 年前3
Debugging Go in
production using eBPF## eBPF Summit October 28, 2020 ## Debugging Go in production using eBPF  i'm Zain  












