The Art of Debugging with GDB, DDD, and Eclipse (Paperback)
暫譯: 使用 GDB、DDD 和 Eclipse 的除錯藝術 (平裝本)

Norman Matloff, Peter Jay Salzman

  • 出版商: No Starch Press
  • 出版日期: 2008-09-15
  • 售價: $1,930
  • 貴賓價: 9.5$1,834
  • 語言: 英文
  • 頁數: 280
  • 裝訂: Paperback
  • ISBN: 1593271743
  • ISBN-13: 9781593271749
  • 相關分類: C 程式語言
  • 海外代購書籍(需單獨結帳)

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

商品描述

Debugging is crucial to successful software development, but even many experienced programmers find it challenging. Sophisticated debugging tools are available, yet it may be difficult to determine which features are useful in which situations. The Art of Debugging is your guide to making the debugging process more efficient and effective.

The Art of Debugging illustrates the use three of the most popular debugging tools on Linux/Unix platforms: GDB, DDD, and Eclipse. The text-command based GDB (the GNU Project Debugger) is included with most distributions. DDD is a popular GUI front end for GDB, while Eclipse provides a complete integrated development environment.

In addition to offering specific advice for debugging with each tool, authors Norm Matloff and Pete Salzman cover general strategies for improving the process of finding and fixing coding errors, including how to:

  • Inspect variables and data structures
  • Understand segmentation faults and core dumps
  • Know why your program crashes or throws exceptions
  • Use features like catchpoints, convenience variables, and artificial arrays
  • Avoid common debugging pitfalls

Real world examples of coding errors help to clarify the authors' guiding principles, and coverage of complex topics like thread, client-server, GUI, and parallel programming debugging will make you even more proficient. You'll also learn how to prevent errors in the first place with text editors, compilers, error reporting, and static code checkers.

Whether you dread the thought of debugging your programs or simply want to improve your current debugging efforts, you'll find a valuable ally in The Art of Debugging.

商品描述(中文翻譯)

調試對於成功的軟體開發至關重要,但即使是許多經驗豐富的程式設計師也會覺得這是一項挑戰。雖然有許多先進的調試工具可供使用,但確定哪些功能在特定情況下有用可能會很困難。《調試的藝術》是您使調試過程更高效和有效的指南。

《調試的藝術》展示了在 Linux/Unix 平台上使用三種最受歡迎的調試工具:GDB、DDD 和 Eclipse。基於文本命令的 GDB(GNU 專案調試器)隨大多數發行版附帶。DDD 是 GDB 的一個流行 GUI 前端,而 Eclipse 則提供完整的集成開發環境。

除了針對每個工具提供具體的調試建議外,作者 Norm Matloff 和 Pete Salzman 還涵蓋了改善尋找和修復程式錯誤過程的一般策略,包括如何:

- 檢查變數和數據結構
- 理解段錯誤和核心轉儲
- 知道為什麼您的程式崩潰或拋出異常
- 使用 catchpoints、便利變數和人工陣列等功能
- 避免常見的調試陷阱

真實世界的程式錯誤範例有助於闡明作者的指導原則,並且對於線程、客戶端-伺服器、GUI 和並行程式調試等複雜主題的涵蓋將使您更加熟練。您還將學習如何通過文本編輯器、編譯器、錯誤報告和靜態代碼檢查器來防止錯誤的發生。

無論您是害怕調試程式的想法,還是僅僅想改善當前的調試工作,您都會在《調試的藝術》中找到一個有價值的盟友。