Effective Debugging(英文版)-调试软件与系统的66个有效方法

本书特色

[

本书作者着眼于一系列可能会在现代软件系统中出现的问题,特别是分散在地球上的组件和服务之间复杂的相互影响造成的问题。无论您是否正在调试独立运行的错误或灾难性的企业系统故障,本指南将帮助您更快更少痛苦地完成任务。

]

内容简介

[

• 《代码阅读》《代码质量》作者、IEEE Software主编Diomidis Spinelli再出力作。
• 经典原味,解决多种软件故障。
• 全面看待程序错误,加快调试进程。

]

作者简介

[

Diomidis Spinellis是雅典经济与商业大学科技管理学院教授。他的研究领域包括软件工程、IT安全以及云系统工程。他的著作《代码阅读》(Code Reading: The Open Source Perspective)以及《代码质量》(Code
Quality: The Open Source Perspective)双双荣获Jolt(软件开发生产力)大奖并被广泛传译。Spinellis博士曾在多个学术期刊以及期刊会议论文集中发表了200多篇技术论文,被引用次数高达2500多次。十年来,他作为IEEE Software编委会的一员,为Tools of the Trade专栏定期撰稿。他为OS X以及BSD UNIX贡献了很多代码,并且是UMLGraph、CScout,以及其他软件开源包、库和工具的开发者。他拥有伦敦帝国理工学院软件工程专业的硕士学位及计算机科学专业的博士学位。他是ACM以及IEEE的高级会员,并且自2015年以来一直担任IEEE Software的主编。

]

目录

目录前言 v致谢 x作者简介 xivFigures xixListings xxItem 11: Minimize the Turnaround Time from Your Changes to Their Result 28Item 12: Automate Complex Testing Scenarios 29Item 13: Enable a Comprehensive Overview of Your Debugging Data 32Item 14: Consider Updating Your Software 33Item 15: Consult Third-Party Source Code for Insights on Its Use 34Item 16: Use Specialized Monitoring and Test Equipment 36Item 17: Increase the Prominence of a Failure’s Effects 40Item 18: Enable the Debugging of Unwieldy Systems from Your Desk 42Item 19: Automate Debugging Tasks 44Item 20: Houseclean Before and After Debugging 45Item 21: Fix All Instances of a Problem Class 46Chapter 3: General-Purpose Tools and Techniques 49Item 22: Analyze Debug Data with Unix Command-Line Tools 49Item 23: Utilize Command-Line Tool Options and Idioms 55Item 24: Explore Debug Data with Your Editor 57Item 25: Optimize Your Work Environment 59Item 26: Hunt the Causes and History of Bugs with theRevision Control System 64Item 27: Use Monitoring Tools on Systems Composedof Independent Processes 67Chapter 4: Debugger Techniques 71Item 28: Use Code Compiled for Symbolic Debugging 71Item 29: Step through the Code 76Item 30: Use Code and Data Breakpoints 77Item 31: Familiarize Yourself with Reverse Debugging 80Item 32: Navigate along the Calls between Routines 82Item 33: Look for Errors by Examining the Valuesof Variables and Expressions 84Item 34: Know How to Attach a Debugger to a Running Process 87Item 35: Know How to Work with Core Dumps 89Item 36: Tune Your Debugging Tools 92Item 37: Know How to View Assembly Code and Raw Memory 95Chapter 5: Programming Techniques 101Item 38: Review and Manually Execute Suspect Code 101Item 39: Go Over Your Code and Reasoning with a Colleague 103Item 40: Add Debugging Functionality 104Item 41: Add Logging Statements 108Item 42: Use Unit Tests 112Item 43: Use Assertions 116Item 44: Verify Your Reasoning by Perturbing theDebugged Program 119Item 45: Minimize the Differences between a Working Exampleand the Failing Code 120Item 46: Simplify the Suspect Code 121Item 47: Consider Rewriting the Suspect Codein Another Language 124Item 48: Improve the Suspect Code’s Readability and Structure 126Item 49: Fix the Bug’s Cause, Rather Than Its Symptom 129Chapter 6: Compile-Time Techniques 133Item 50: Examine Generated Code 133Item 51: Use Static Program Analysis 136Item 52: Configure Deterministic Builds and Executions 141Item 53: Configure the Use of Debugging Libraries and Checks 143Chapter 7: Runtime Techniques 149Item 54: Find the Fault by Constructing a Test Case 149Item 55: Fail Fast 153Item 56: Examine Application Log Files 154Item 57: Profile the Operation of Systems and Processes 158Item 58: Trace the Code’s Execution 162Item 59: Use Dynamic Program Analysis Tools 168Chapter 8: Debugging Multi-threaded Code 171Item 60: Analyze Deadlocks with Postmortem Debugging 171Item 61: Capture and Replicate 178Item 62: Uncover Deadlocks and Race Conditions withSpecialized Tools 183Item 63: Isolate and Remove Nondeterminism 188Item 64: Investigate Scalability Issues by Looking at Contention 190Item 65: Locate False Sharing by Using Performance Counters 193Item 66: Consider Rewriting the Code Using Higher-LevelAbstractions 197Web Resources 207Index 211

封面

Effective Debugging(英文版)-调试软件与系统的66个有效方法

书名:Effective Debugging(英文版)-调试软件与系统的66个有效方法

作者:季奥米季斯.斯宾奈里斯

页数:未知

定价:¥75.0

出版社:电子工业出版社

出版日期:2017-07-01

ISBN:9787121315312

PDF电子书大小:141MB 高清扫描完整版

百度云下载:http://www.chendianrong.com/pdf

发表评论

邮箱地址不会被公开。 必填项已用*标注