Back To Basics Debugging
B2B 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 | 5 月前3Back To Basics Debugging and Testing
Development 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 | 5 月前3Back to Basics: Debugging Techniques
Back 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 | 5 月前3Developing & Debugging WebAssembly Filters
Developing & Debugging WebAssembly Filters Idit Levine & Yuval Kohavi 2 | Copyright © 2020 Idit Levine | Founder & CEO, Solo.io Yuval Kohavi | Chief Architect, Solo.io 3 | Copyright © 2020 Istio0 码力 | 22 页 | 2.22 MB | 1 年前3Debugging the BPF Virtual Machine
Debugging the BPF Virtual Machine Lorenzo Fontana October 28, 2020 ● Debugging is useful to understand how things work ● Sometimes, eBPF programs can’t even load ● I couldn’t find good resources on this ARCH=x86_64 menuconfig make O=$PWD/build ARCH=x86_64 -j16 Kernel image Remember to: - Enable debugging symbols under Kernel Hacking -> compile options git clone git://git.buildroot.net/buildroot /source/buildroot program and see if the breakpoint hits ● We can use it in bpf/verifier.c to do printf based debugging ● Sometimes it’s better than messing around with pointers in gdb verbose(void *, const char0 码力 | 10 页 | 233.09 KB | 1 年前3Debugging Istio Within the Department of Defense
#IstioCon Debugging Istio Within the Department of Defense Nick Nellis / Adam Toy #IstioCon Istio Going Mainstream Consumer Expectations ● Reliability ● Maintainability ● Usability #IstioCon0 码力 | 17 页 | 1.49 MB | 1 年前3Debugging Go in production using eBPF
eBPF Summit October 28, 2020 Debugging Go in production using eBPF ABOUT ME ? i’m Zain @zainasgar Co-Founder/CEO Pixie (@pixie_run) & Adjunct Professor of CS @ Stanford DEVELOPER PROBLEM You’re0 码力 | 14 页 | 746.99 KB | 1 年前3Top 5 improvements to Debugging Go Code in VS Code
to Debugging Go Code in VS Code in the last year Ramya Rao Software Engineer, Microsoft Maintainer of the Go plugin to VS Code Add/remove breakpoints when in the middle of debugging Attach0 码力 | 9 页 | 153.73 KB | 1 年前3How Meta Made Debugging Async Code Easier with Coroutines and Senders
0 码力 | 131 页 | 907.41 KB | 5 月前3User’s Guide for Free Pascal, Version 3.2.2
Running programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 6.9 Debugging programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 6.9.1 Using breakpoints availability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 10 Debugging your programs 121 10.1 Compiling your program with debugger support . . . . . . . . . . . . . debug your program . . . . . . . . . . . . . . . . . . . . . . . . . . . 122 10.3 Caveats when debugging with gdb . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 10.4 Support for gprof, the0 码力 | 217 页 | 756.57 KB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100