Perl Debugger Pocket Reference (Paperback)
暫譯: Perl 除錯器口袋參考手冊 (平裝本)

Richard Foley

  • 出版商: O'Reilly
  • 出版日期: 2004-03-02
  • 售價: $650
  • 貴賓價: 9.5$618
  • 語言: 英文
  • 頁數: 144
  • 裝訂: Paperback
  • ISBN: 0596005032
  • ISBN-13: 9780596005030
  • 相關分類: Perl 程式語言
  • 海外代購書籍(需單獨結帳)

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

商品描述

Most Perl programmers know about the Perl debugger--the nifty little built-in utility that you can use to fully debug any programs that you write. Inside the interactive debugger environment, you're prompted for commands that let you examine your source code, set breakpoints, dump out function call stacks, change values of variables, and much more. It's so convenient that some programmers run it just to test out Perl constructs as they create a program. But although it's on their radar, not many Perl programmers take the time to master the debugger. That's where the Perl Debugger Pocket Reference comes in.

This little book provides a quick and convenient path to mastery of the Perl debugger and its commands. Written by a core member of the Perl debugger development team, it's an ideal quick reference to debugger commands, as well as a detailed tutorial on how to get started. The Perl Debugger Pocket Reference provides complete coverage in a conveniently small package.

Maybe you write code so clean you never have to look at it twice. Or perhaps you'd rather focus your energies on writing clean code, rather than learning about the debugger. But if you need to learn about the Perl debugger in a hurry, the Perl Debugger Pocket Reference is the book you'll want to have close by. And you can always keep a copy on hand to share with programmers who need it more than you do.

O'Reilly's Pocket References have become a favorite among programmers everywhere. By providing a wealth of important details in a concise, well-organized format, these handy books deliver just what you need to complete the task at hand. When you've reached a sticking point in your work and need to get to a solution quickly, the new Perl Debugger Pocket Reference will get you back on the right track.

Table of Contents


     What Is the Perl Debugger?
     Why Use the Debugger?
     Unfamiliar Territory
     About This Book
            The linecounter.pl Script
            Shell
            Truncated Output
            Versions of Perl
            Delving Deeper
            Conventions
            Acknowledgments and Disclaimers
     Before You Debug
            Check Your Syntax
            Use strict
            Warnings
            Diagnostics
            Taint Mode
     A Debugger Tutorial
            Starting a Session
            A Simple CGI Debugger Session
     Debugger Commands
            Help and Quitting
            Examining Data
            Listing Code and Searching
            Motion
            Actions, Breakpoints, and Watchpoints
            Perl, Pre-Prompt, and Post-Prompt Commands
            Shell and Debugger Commands
            Setting Options
     Debugger Variables
            $DB::* Variables
            Environment Variables
     Debugging Options
     DB and Devel Namespaces
            Runtime Sequence
            DB::DB()
            DB::sub ()
            Devel Namespace (-d)
            Useful Modules
            -DDEBUGGING
     References
            perldoc
            Books
            URLs
            Online Articles
            History
            GUIs-Graphical User Interfaces
            Debuggers
            Text Editors
     Quick Reference
     Index

商品描述(中文翻譯)

大多數 Perl 程式設計師都知道 Perl 除錯器——這個內建的小工具可以用來完全除錯您所編寫的任何程式。在互動式除錯環境中,系統會提示您輸入命令,讓您檢查源代碼、設置斷點、轉儲函數調用堆棧、改變變數的值等等。這麼方便,以至於一些程式設計師在創建程式時僅僅為了測試 Perl 語法而運行它。但儘管它在他們的視野中,卻不是很多 Perl 程式設計師花時間去精通這個除錯器。這就是《Perl 除錯器口袋參考》的用武之地。

這本小書提供了一條快速便捷的途徑來掌握 Perl 除錯器及其命令。由 Perl 除錯器開發團隊的核心成員撰寫,它是除錯器命令的理想快速參考,同時也是一個詳細的入門教程。《Perl 除錯器口袋參考》在一個方便的小包裝中提供了完整的內容。

也許您編寫的代碼乾淨到不需要再看第二遍。或者您可能更願意將精力集中在編寫乾淨的代碼上,而不是學習除錯器。但如果您需要快速了解 Perl 除錯器,《Perl 除錯器口袋參考》將是您想要隨身攜帶的書籍。您也可以隨時保留一份以便與比您更需要的程式設計師分享。

O'Reilly 的口袋參考書籍已成為全球程式設計師的最愛。這些實用的書籍以簡潔、組織良好的格式提供了大量重要細節,正好滿足您完成手頭任務的需求。當您在工作中遇到瓶頸,需要快速找到解決方案時,新的《Perl 除錯器口袋參考》將幫助您回到正確的軌道。

目錄
- Perl 除錯器是什麼?
- 為什麼使用除錯器?
- 不熟悉的領域
- 關於本書
- linecounter.pl 腳本
- Shell
- 縮略輸出
- Perl 的版本
- 深入探討
- 約定
- 感謝與免責聲明
- 在除錯之前
- 檢查語法
- 使用 strict
- 警告
- 診斷
- 污染模式
- 除錯器教程
- 開始會話
- 一個簡單的 CGI 除錯會話
- 除錯器命令
- 幫助與退出
- 檢查數據
- 列出代碼和搜索
- 移動
- 操作、斷點和監視點
- Perl、前提示和後提示命令
- Shell 和除錯器命令
- 設置選項
- 除錯器變數
- $DB::* 變數
- 環境變數
- 除錯選項
- DB 和 Devel 命名空間
- 運行時序列
- DB::DB()
- DB::sub()
- Devel 命名空間 (-d)
- 有用的模組
- -DDEBUGGING
- 參考資料
- perldoc
- 書籍
- 網址
- 在線文章
- 歷史
- GUI - 圖形用戶界面
- 除錯器
- 文本編輯器
- 快速參考
- 索引