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
Top 5 improvements to Debugging Go Code in VS Codeto 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 年前3
How Meta Made Debugging Async Code Easier with Coroutines and Senders0 码力 | 131 页 | 907.41 KB | 6 月前3
User’s Guide for Free Pascal, Version 3.2.2Running 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
Scrapy 0.18 DocumentationQuestions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 5.2 Debugging Spiders . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . scraping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 5.8 Debugging memory leaks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 they get broken • An Interactive shell console for trying XPaths, very useful for writing and debugging your spiders • A System service designed to ease the deployment and run of your spiders in production0 码力 | 201 页 | 929.55 KB | 1 年前3
Scrapy 0.22 DocumentationQuestions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 5.2 Debugging Spiders . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . scraping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 5.8 Debugging memory leaks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 they get broken • An Interactive shell console for trying XPaths, very useful for writing and debugging your spiders • A System service designed to ease the deployment and run of your spiders in production0 码力 | 199 页 | 926.97 KB | 1 年前3
Scrapy 0.20 DocumentationQuestions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 5.2 Debugging Spiders . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . scraping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 5.8 Debugging memory leaks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 they get broken • An Interactive shell console for trying XPaths, very useful for writing and debugging your spiders • A System service designed to ease the deployment and run of your spiders in production0 码力 | 197 页 | 917.28 KB | 1 年前3
Scrapy 0.16 DocumentationQuestions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 5.2 Debugging Spiders . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . scraping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 5.8 Debugging memory leaks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 they get broken • An Interactive shell console for trying XPaths, very useful for writing and debugging your spiders • A System service designed to ease the deployment and run of your spiders in production0 码力 | 203 页 | 931.99 KB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100













