More Ebooks:

Database Prog. with VB 5 in 21 Days, 2nd Ed

Database Developer`s Guide with Visual C++ 4, Second Edition

Database Developer`s Guide with VB4, 2nd Edition

Curious About The Internet

Creating Web Applets with Java

Creating Shockwave Web Pages

Configuring Windows 2000 Server Security

Configuring ISA Server 2000 Building Firewalls for Windows 2000

Configuring Citrix Metaframe for Win2000 Terminal Services

Configuring Cisco Voice Over IP

find on eBook ToC:

Debugging Applications: Microsoft (Dv-Mps Programming)

Debugging Applications: Microsoft (Dv-Mps Programming)

John Robbins, Microsoft Press

ISBN:0735608865, Edition: , 2000-01

Price: $49.99

Contents

Cover
LOC Page
Dedication
Foreword
Acknowledgments

Introduction
Who Should Read This Book?
How Should You Read This Book?
System Requirements
What's on the Companion CD?
Feedback

Part I: The Gestalt of Debugging

Chapter 1 -- Bugs: Where They Come From and How You Solve Them
Bugs and Debugging
Prerequisites to Debugging
The Debugging Process
Summary

Chapter 2 -- Getting Started Debugging
Track Changes Until You Throw Away the Project
Schedule Time for Building Debugging Systems
Frequent Builds and Smoke Tests Are Mandatory
Build the Installation Program Immediately
QA Must Test with Debug Builds
Summary

Chapter 3 -- Debugging During Coding
Assert, Assert, Assert, and Assert
Trace, Trace, Trace, and Trace
Comment, Comment, Comment, and Comment
Trust Yourself, But Verify (Unit Testing)
Summary

Part II: Power Debugging

Chapter 4 -- How Do Debuggers Work?
Types of Windows Debuggers
Windows 2000 Operating System Support for Debuggees
MinDBG: A Simple Win32 Debugger
WDBG: A Real Debugger
So You Want to Write Your Own Debugger
What's Next for WDBG?
Summary

Chapter 5 -- Power Debugging with the Visual C++ Debugger
Advanced Breakpoints and How to Use Them
Remote Debugging
Tips and Tricks
Summary

Chapter 6 -- Power Debugging with x86 Assembly Language and the Visual C++ Debugger Disassembly Window
The Basics of the CPU
A Word About the Visual C++ Inline Assembler
Instructions You Need to Know
Calling Conventions
More Instructions You Need to Know
Common Assembly-Language Constructs
A Complete Example
The Disassembly Window
Tips and Tricks
Summary

Chapter 7 -- Power Debugging with the Visual Basic Debugger
Visual Basic P-Code
Error Trapping: Break In or Break On Options
Visual Basic Debugger Windows
Tips and Tricks
Summary

Part III: Power Tools and Techniques

Chapter 8 -- Finding Source and Line Information with Just a Crash Address
Creating and Reading a MAP File
Using CrashFinder
What's Next for CrashFinder?
Summary

Chapter 9 -- Crash Handlers
Structured Exception Handling vs. C++ Exception Handling
The SetUnhandledExceptionFilter API Function
Using the CrashHandler API
Translating EXCEPTION_POINTERS Structures
Summary

Chapter 10 -- Debugging Windows 2000 Services and DLLs That Load into Services
Service Basics
Debugging Services
Summary

Chapter 11 -- Multimachine, Multiprocess Tracing
TraceSrv Requirements
TraceSrv and DCOMCNFG
Initial Problems with TraceSrv
TraceView and Security
Using TraceSrv
Summary

Chapter 12 -- Multithreaded Deadlocks
Multithreading Tips and Tricks
DeadlockDetection Requirements
High-Level Design Issues with DeadlockDetection
Using DeadlockDetection
Implementing DeadlockDetection
What's Next for DeadlockDetection?
Summary

Chapter 13 -- Automated Testing
The Bane of Unit Testing: User Interfaces
Tester Requirements
Using Tester
Implementing Tester
What's Next for Tester?
Summary

Chapter 14 -- Limiting OutputDebugString Calls
Also-Ran Solutions
LIMODS Requirements
Using LIMODS
Implementing LIMODS
What's Next for LIMODS?
Summary

Chapter 15 -- The Debug C Run-Time Library
Features of the Debug C Run-Time Library
Using the Debug C Run-Time Library
Choosing the Right C Run-Time Library for Your Application
Using MemDumperValidator
Implementing MemDumperValidator
Using MemStress
Summary

Part IV: Appendixes

Appendix A -- Reading Dr. Watson Log Files
Windows 2000 Dr. Watson Log
Windows 98 Dr. Watson Log

Appendix B -- Resources for Windows Developers
Books
Tools
Web Sites
About the Author
About This Electronic Book
About Microsoft Press