圖書標籤: debug 編程 Debugging 調試 計算機 programming 程序設計 方法
发表于2024-09-09
Debugging pdf epub mobi txt 電子書 下載 2024
This book was born in 1981 when a group of test technicians at Gould asked me if I could write a
document on how to troubleshoot our hardware products. I was at a loss—the products were boards
with hundreds of chips on them, several microprocessors, and numerous communications buses. I
knew there was no magical recipe; they would just have to learn how to debug things. I discussed
this with Mike Bromberg, a long time mentor of mine, and we decided the least we could do was
write up some general rules of debugging. The Ten Debugging Commandments were the result, a
single sheet of brief rules for debugging which quickly appeared on the wall above the test benches.
Over the years, this list was compressed by one rule and generalized to software and systems, but
it remains the core of this book. So to Mike, and to the floor techs who expressed the need, thanks.
Over the years, I've had the pleasure of working for and with a number of inspirational people who
helped me develop both my debugging skills and my sense of humor. I'd like to recognize Doug
Currie, Scott Ross, Glen Dash, Dick Morley, Mike Greenberg, Cos Fricano, John Aylesworth (one of
the original techs), Bob DeSimone, and Warren Bayek for making challenging work a lot of fun. I
should also mention three teachers who expected excellence and made learning enjoyable: Nick
Menutti (it ain't the Nobel Prize, but here's your good word), Ray Fields, and Professor Francis F.
Lee. And while I never met them, their books have made a huge difference in my writing career:
William Strunk Jr. and E. B. White (The Elements of Style), and Jeff Herman and Deborah Adams
(Write the Perfect Book Proposal).
To the Delt Dawgs, my summer softball team of 28 years and counting, thanks for the reviews and networking help. I'm indebted to Charlie Seddon, who gave me a detailed review with many helpful
comments, and to Bob Siedensticker, who did that and also gave me war stories, topic suggestions,
and advice on the publishing biz. Several people, most of whom I did not know personally at the
time, reviewed the book and sent me nice letters of endorsement, which helped get it published.
Warren Bayek and Charlie Seddon (mentioned above), Dick Riley, Bob Oakes, Dave Miller, and
Professor Terry Simkin: thank you for your time and words of encouragement.
I'm grateful to the Sesame Workshop, Tom and Ray Magliozzi (Click and Clack of Car Talk—or is it
Clack and Click?), and Steve Martin for giving me permission to use their stories and jokes; to Sir
Arthur Conan Doyle for creating Sherlock Holmes and having him make so many apropos
comments; and to Seymour Friedel, Bob McIlvaine, and my brother Tom Agans for relating interesting war stories. And for giving me the examples I needed both to discover the rules and to
demonstrate them, thanks to all the war story participants, both heroes and fools (you know who
you are).
Working with my editors at Amacom has been a wonderful and enlightening experience. To Jacquie
Flynn and Jim Bessent, thank you for your enthusiasm and great advice. And to the designers and
other creative hands in the process, nice work; it came out great.
Special appreciation goes to my agent, Jodie Rhodes, for taking a chance on a first−time author
with an offbeat approach to an unfamiliar subject. You know your markets, and it shows.
For their support, encouragement, and countless favors large and small, a special thanks to my
in−laws, Dick and Joan Blagbrough. To my daughters, Jen and Liz, hugs and kisses for being fun
and believing in me. (Also for letting me have a shot at the computer in the evenings between
high−scoring games and instant messenger sessions.)
And finally, my eternal love and gratitude to my wife Gail, for encouraging me to turn the rules into a
book, for getting me started on finding an agent, for giving me the time and space to write, and for
proofreading numerous drafts that I wouldn't dare show anyone else. You can light up a chandelier
with a vacuum cleaner, but you light up my life all by yourself.
Dave Agans is a 1976 MIT graduate whose engineering career spans large companies such as
Gould, Fairchild, and Digital Equipment; small startups, including Eloquent Systems and Zydacron;
and independent consulting for a variety of clients. He has held most of the customary individual
contributor titles as well as System Architect, Director of Software, V.P. Engineering, and Chief
Technical Officer. He has played the roles of engineer, project manager, product manager, technical
writer, seminar speaker, consultant, and salesman.
Mr. Agans has developed successful integrated circuits, TV games, industrial controls, climate
controls, hotel management systems, CAD workstations, handheld PCs, wireless fleet dispatch
terminals, and videophones. He holds two U.S. patents. On the non−technical side, he is a
produced musical playwright and lyricist.
Dave currently resides in Amherst, New Hampshire, with his wife, two daughters, and (when they
decide to come inside) two cats. In his limited spare time, he enjoys musical theatre, softball,
playing and coaching basketball, and writing.
幾個debug的原則,都是大實話,對於新手來說應該很有用,如果早幾年看到他,會給他五顆星。
評分書中有關於debug的9條黃金規則 嗬嗬 我想成為debug大師
評分手上的bug要還是解決不瞭就把書燒瞭
評分指導原則而已, 沒什麼乾貨
評分哈哈作者好搞笑
《调试九法》副标题是<软硬件调试之道>,列举了9条调试规则: 理解系统 制造失败 不要想而要看 分而治之 一次只改一个地方 保持审计跟踪 检查插头 获得全新的观点 如果你不修复BUG它将依然存在 看完之后,发现在工作中经常违犯其中一到两条规则。比如总是没有事实依据地...
評分 評分理解系统 掌握基础知识:必须掌握系统的工作原理以及它是如何设计的。在某些情况下,还要知道为什么这样设计。如果你没有理解系统中的某个部分,那么这通常就是出问题的地方。 阅读手册:我们应该首先阅读手册,而不是等到所有办法都不管用之后才去读它。而且要逐字阅读整个手...
評分一般当工程师把一个东西称为艺术甚至玄学的时候,说明这个东西难度很大,没有太多规律可以遵循,调试就属于此列。几乎每个程序员都有被bug搞到死去活来的经验,有时候颠来倒去,问题似乎解决了,但也不知道为什么,就把它当作不可解释的玄学现象,最烦人的一种bug是偶尔出现难...
評分理解系统 掌握基础知识:必须掌握系统的工作原理以及它是如何设计的。在某些情况下,还要知道为什么这样设计。如果你没有理解系统中的某个部分,那么这通常就是出问题的地方。 阅读手册:我们应该首先阅读手册,而不是等到所有办法都不管用之后才去读它。而且要逐字阅读整个手...
Debugging pdf epub mobi txt 電子書 下載 2024