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
  • 立即出貨

買這商品的人也買了...

相關主題

商品描述

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還是組合語言,針對伺服器還是嵌入式微控制器,使用敏捷或傳統方法,相同的基本錯誤修復原則適用於所有情況。從構建易於調試的軟體(順便說一下,這樣的軟體在一開始就不太可能包含錯誤),到處理錯誤報告,再到推出最終修復方案,我們將涵蓋錯誤的整個生命週期。

你將學習到經驗主義方法,利用你的軟體獨特的能力「展示」實際發生的情況,找到可靠且方便的方法重現錯誤,以及常見的陷阱,讓你能夠避免它們。你將看到如何使用常用的工具在客戶報告問題之前自動檢測問題,以及如何構建「透明軟體」,提供關鍵信息和內部狀態的訪問。