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,910
- 貴賓價: 9.5 折 $1,815
- 語言: 英文
- 頁數: 280
- 裝訂: Paperback
- ISBN: 1593271743
- ISBN-13: 9781593271749
-
相關分類:
C 程式語言
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
$620$490 -
$880$695 -
$880$695 -
$550$468 -
$980$774 -
$990$891 -
$600$480 -
$720$612 -
$980$774 -
$490$387 -
$620$490 -
$780$663 -
$780$663 -
$680$537 -
$690$587 -
$750$593 -
$820$697 -
$580$493 -
$890$703 -
$490$387 -
$450$351 -
$580$458 -
$500$390 -
$580$452 -
$880$748
相關主題
商品描述
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的一個受歡迎的圖形用戶界面,而Eclipse則提供了一個完整的集成開發環境。
除了為每個工具提供特定的除錯建議外,作者Norm Matloff和Pete Salzman還介紹了改進尋找和修復程式碼錯誤的一般策略,包括如何:
- 檢查變數和資料結構
- 理解分段錯誤和核心轉儲
- 知道為什麼程式崩潰或拋出異常
- 使用catchpoints、方便變數和人工陣列等功能
- 避免常見的除錯陷阱
實際的編碼錯誤示例有助於澄清作者的指導原則,而有關線程、客戶端-服務器、GUI和並行編程除錯等複雜主題的涵蓋將使您更加熟練。您還將學習如何通過文本編輯器、編譯器、錯誤報告和靜態程式碼檢查器在首次避免錯誤。
無論您是對除錯程式感到困擾,還是只是想改進目前的除錯工作,您都可以在《除錯的藝術》中找到一個有價值的夥伴。