The Debugger's Handbook

Overview

For today's programmers, it is impossible to foresee every input, every usage scenario, and every combination of applications that can cause errors when run simultaneously. Given all of these unknowns, writing absolutely bug-free code is unachievable. But it is possible, with the right knowledge, to produce nearly bug-free code and The Debugger's Handbook provides just the right guidance to do it.

Focused on the best practices for writing code as well as on the methods to ...

See more details below
Hardcover
$86.10
BN.com price
(Save 21%)$109.95 List Price
Other sellers (Hardcover)
  • All (8) from $21.31   
  • New (4) from $95.08   
  • Used (4) from $21.31   
Sending request ...

Overview

For today's programmers, it is impossible to foresee every input, every usage scenario, and every combination of applications that can cause errors when run simultaneously. Given all of these unknowns, writing absolutely bug-free code is unachievable. But it is possible, with the right knowledge, to produce nearly bug-free code and The Debugger's Handbook provides just the right guidance to do it.

Focused on the best practices for writing code as well as on the methods to perform more effective debugging, DiMarzio promotes a natural debugging approach to writing code. He begins by examining and concretely defining just what a bug is, what circumstances are more prone to producing bugs, and how to avoid them from the start. Rather than focusing on techniques for a specific programming language, this book offers guidance on the basic philosophies and practices that can minimize the appearance of bugs in any language. Extensive use of examples-with sample code given in VB, VB .NET, C++, and Java-reinforce a practical understanding of the concepts and offer ample opportunity to put them to use.

Working systematically through the programming steps encountered in practice, The Debugger's Handbook is the most versatile and practical guide available for minimizing errors, decreasing development time and costs, and making you a better programmer.

Read More Show Less

Product Details

Table of Contents

BUGS: FACT OR FICTION?
The History of Bugs
The Rise of the Modern Programmer
Dissecting a Bug: Definition
Review Questions
Looking Ahead

WRITING BUG-FREE CODE PART I: THE DESIGN PROCESS
Planning Your Bug-Free Project
Review Questions
Looking Ahead

BUG-FREE CODE PART II: THE CODING PROCESS
It Is All in the Comments
Comment Characters of Multiple Languages
Introductory Comments
Using .NET Regions
Coding Standards
Functions, Subroutines, and Methods
Reusable Code
Review Questions
Looking Ahead

THROWING CUSTOM EXCEPTIONS
Unstructured Error Handling
Structured Error Handling
Throwing Custom Errors
Review Questions
Looking Ahead

DESIGN TIME DEBUGGING
Benefits of Removing Bugs at Design Time
Debugging in Visual Studio 2003
Visual Basic Debug Mode Editing
Review Questions
Looking Ahead

DEBUGGING AND VISUAL STUDIO 2005
Debugging with the New Features in Visual Studio 2005
Design Time Debugging
Debugging
Review Questions
Looking Ahead

TESTING
When Is It Time to Test?
Setting Up the Test Environment
Choosing the Test Team
Finding Bugs
Review Questions
Looking Ahead

COMMENTING YOUR CODE WITH XML
XML Tags
Review Questions
Looking Ahead

REAL-WORLD SCENARIOS: OPENING FILES
Opening Files
Executing the Close Method in the Wrong Place
Other Syntactical/File Navigation Errors

REAL-WORLD SCENARIOS: READING FILES
Opening a File as the Incorrect Type

REAL-WORLD SCENARIOS: SAVING PROGRAM SETTINGS

REAL-WORLD SCENARIOS: WORKING WITH OBJECTS
Not Defining the Object Correctly
Not Being Able to See an Object from All Forms

REAL-WORLD SCENARIOS: EDITING THE REGISTRY
Using SaveSetting and GetSetting

REAL-WORLD SCENARIOS: WINDOWS TERMINATION FUNCTIONALITY

REAL-WORLD SCENARIOS: OPENING A DATABASE
Passing String Credentials
Obtaining Connection Settings from a .udl File
Using ODBC Connections
Closing a Database

REAL-WORLD SCENARIOS: READING A DATABASE
Using a DataReader

REAL-WORLD SCENARIOS: SEARCHING A DATABASE
Querying Tables
Using Stored Procedures
INDEX

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)