Debug It!: Find, Repair, and Prevent Bugs in Your Code (Paperback)
暫譯: 除錯指南:尋找、修復及預防程式碼中的錯誤
Paul Butcher
- 出版商: Pragmatic Bookshelf
- 出版日期: 2009-12-22
- 定價: $1,180
- 售價: 6.0 折 $708
- 語言: 英文
- 頁數: 232
- 裝訂: Paperback
- ISBN: 193435628X
- ISBN-13: 9781934356289
立即出貨
買這商品的人也買了...
-
$1,880$1,786 -
$3,420Agile Software Development: Principles, Patterns, and Practices (Hardcover)
-
$640PCI Power Management
-
$880$695 -
$1,400$1,330 -
$1,320The Linux Programmer's Toolbox (Paperback)
-
$990$891 -
$720$569 -
$399Hacking Exposed Malware & Rootkits: Malware & Rootkits Secrets & Solutions (Paperback)
-
$620$527 -
$520$411 -
$650$514 -
$350$273 -
$420$328 -
$350$273 -
$750$638 -
$520$411 -
$490$417 -
$820$648 -
$580$458 -
$580$458 -
$550$468 -
$530$419 -
$790Mobile Application Security (Paperback)
-
$450通用源碼閱讀指導書 — MyBatis 源碼詳解
商品描述
If you develop software, sooner or later you're going to discover that it doesn't always behave as you intended. Working out why it's misbehaving can be hard. Sometimes very hard. Debug It! is here to help!
All bugs are different: there is no silver bullet. You've got to rely upon your intellect, intuition, detective skills and yes, even a little luck. But that doesn't mean that you're completely on your own-there is much you can learn from those who have gone before. This book distills decades of hard-won experience gained in the trenches of professional software development, giving you a head-start and arming you with the tools you need to get to the bottom of the problem, whatever you're faced with.
Whether you're writing Java or assembly language, targeting servers or embedded micro-controllers, using agile or traditional approaches, the same basic bug-fixing principles apply. From constructing software that is easy to debug (and incidentally less likely to contain bugs in the first place), through handling bug reports to rolling out your ultimate fix, we'll cover the entire life-cycle of a bug.
You'll learn about the empirical approach, which leverages your software's unique ability to show you what's really happening, the importance of finding a reliable and convenient means of reproducing a bug, and common pitfalls so you can avoid them. You'll see how to use commonly available tools to automatically detect problems before they're reported by customers and how to construct "transparent software" that provides access to critical information and internal state.
商品描述(中文翻譯)
如果你開發軟體,遲早你會發現它並不總是按照你的意圖運作。找出為什麼它會出現問題可能很困難。有時候,非常困難。Debug It! 將會幫助你!
所有的錯誤都是不同的:沒有萬能的解決方案。你必須依賴你的智慧、直覺、偵探技能,甚至還需要一點運氣。但這並不意味著你完全孤軍作戰——你可以從那些在你之前的人身上學到很多。本書提煉了數十年在專業軟體開發中獲得的艱辛經驗,讓你能夠提前佔得先機,並提供你解決問題所需的工具,無論你面對什麼挑戰。
無論你是在編寫 Java 或組合語言,針對伺服器或嵌入式微控制器,使用敏捷或傳統的方法,基本的錯誤修正原則都是相同的。從構建易於除錯的軟體(順便提一下,這樣的軟體不太可能一開始就包含錯誤)開始,到處理錯誤報告,再到推出最終修正,我們將涵蓋錯誤的整個生命週期。
你將學習到經驗主義的方法,這種方法利用你的軟體獨特的能力來顯示實際發生了什麼,找到可靠且方便的重現錯誤的方法的重要性,以及常見的陷阱,以便你能夠避免它們。你將看到如何使用常見的工具在客戶報告問題之前自動檢測問題,以及如何構建“透明軟體”,以提供對關鍵資訊和內部狀態的訪問。