Prevent program bugs right from the start and quickly exterminate existing ones!
Bug Proofing VISUAL BASIC(r)
Let's face it, most programs with more than ten lines of code contain bugs. And as you know, the longer a bug exists in a system, the harder it becomes to locate and repair. Help is here! Packed with code, this practical guide shows you how to write effective, error-free programs and, best of all, how to test your programs at crucial stages of development. You'll find out how to handle unexpected bugs that do occur and how to locate and fix them quickly. You'll get bug prevention and repair techniques that just aren't available anywhere else! You'll get the kind of advice and information that usually only comes from years and years of hard-won experience! You'll find out:
? How to design bug-free programs
? How to code proactively to prevent bugs before they start
? How to write code that exposes bugs instead of hiding them
? How to catch bugs before they do any serious harm
? How to find bugs using tools like the debugger and code profiler
? How to use debug and runtime versions of a program to make debugging easier
? How to use On Error statements to handle unexpected conditions
? How to record information automatically, so you can fix bugs after users encounter them
? How to use proven methods to find errors quickly
? How to create and analyze special foolproof tests for errors