Create bookmark
Inside Windows® Debugging
A Practical Guide to Debugging and Tracing Strategies in Windows®
Notes
Please login to add notes
- Foreword
- + Introduction
-
+
Part 1: A Bit of Background
-
+
Part 2: Debugging for Fun and Profit
-
+
Chapter 2: Getting Started
- + Introducing the Debugging Tools
-
+
User-Mode Debugging
- Debugging Your First Program with WinDbg
- Listing the Values of Local Variables and Function Parameters
- Source-Level Debugging in WinDbg
- Symbol Files, Servers, and Local Caches
- Caching Symbols Offline for WinDbg
- Troubleshooting Symbol Resolution Issues in WinDbg
- Name Decoration Considerations
- Getting Help for WinDbg Commands
-
+
Kernel-Mode Debugging
- Your First (Live) Kernel Debugging Session
- Setting Up a Kernel-Mode Debugging Environment Using Physical Machines
- Setting Up a Kernel-Mode Debugging Environment Using Virtual Machines
- Diagnosing Host/Target Communication Issues
- Understanding the KD Break-in Sequence
- Controlling the Target in the Kernel Debugger
- Setting Code Breakpoints in the Kernel Debugger
- Getting Help for WinDbg Kernel Debugging Commands
- Summary
-
+
Chapter 3: How Windows Debuggers Work
-
+
Chapter 4: Postmortem Debugging
-
+
Chapter 5: Beyond the Basics
- Noninvasive Debugging
-
+
Data Breakpoints
- Deep Inside User-Mode and Kernel-Mode Data Breakpoints
- Clearing Kernel-Mode Data Breakpoints
- Execution Data Breakpoints vs. Code Breakpoints
- User-Mode Debugger Data Breakpoints in Action: C++ Global Objects and the C Runtime Library
- Kernel-Mode Debugger Data Breakpoints in Action: Waiting for a Process to Exit
- Advanced Example: Who Is Changing a Registry Value?
- + Scripting the Debugger
- + WOW64 Debugging
- + Windows Debugging Hooks (GFLAGS)
- Summary
-
+
Chapter 6: Code Analysis Tools
-
+
Chapter 7: Expert Debugging Tricks
-
+
Chapter 8: Common Debugging Scenarios, Part 1
-
+
Chapter 9: Common Debugging Scenarios, Part 2
-
+
Chapter 10: Debugging System Internals
-
+
Chapter 2: Getting Started
-
+
Part 3: Observing and Analyzing Software Behavior
- + Chapter 11: Introducing Xperf
-
+
Chapter 12: Inside ETW
-
+
Chapter 13: Common Tracing Scenarios
-
+
Appendix A: WinDbg User-Mode Debugging Quick Start
- Starting a User-Mode Debugging Session
- Fixing the Symbols Path
- Fixing the Sources Path
- Displaying the Command Line of the Target Process
- Control Flow Commands
- Listing Loaded Modules and Their Version
- Resolving Function Addresses
- Setting Code (Software) Breakpoints
- Setting Data (Hardware) Breakpoints
- Switching Between Threads
- Displaying Call Stacks
- Displaying Function Parameters
- Displaying Local Variables
- Displaying Data Members of Native Types
- Navigating Between Call Frames
- Listing Function Disassembly
- Displaying and Modifying Memory and Register Values
- Ending a User-Mode Debugging Session
-
+
Appendix B: WinDbg Kernel-Mode Debugging Quick Start
- Starting a Kernel-Mode Debugging Session
- Switching Between CPU Contexts
- Displaying Process Information
- Displaying Thread Information
- Switching Process and Thread Contexts
- Listing Loaded Modules and Their Version
- Setting Code (Software) Breakpoints Inside Kernel-Mode Code
- Setting Code (Software) Breakpoints Inside User-Mode Code
- Setting Data (Hardware) Breakpoints
- Ending a Kernel-Mode Debugging Session
- Index
- About the Author
**Use Windows debuggers throughout the development cycle--and build better software** Rethink your use of Windows debugging and tracing tools--and learn how to make them a key part of test-driven software development. Led by a member of the Windows Fundamentals Team at Microsoft, you'll apply expert debugging and tracing techniques--and sharpen your C++ and C# code analysis skills--through practical examples and common scenarios. Learn why experienced developers use debuggers in every step of the development process, and not just when bugs appear. Discover how to: * Go behind the scenes to examine how powerful Windows debuggers work * Catch bugs early in the development cycle with static and runtime analysis tools * Gain practical strategies to tackle the most common code defects * Apply expert tricks to handle user-mode and kernel-mode debugging tasks * Implement postmortem techniques such as JIT and dump debugging * Debug the concurrency and security aspects of your software * Use debuggers to analyze interactions between your code and the operating system * Analyze software behavior with Xperf and the Event Tracing for Windows (ETW) framework
Test the closed alpha on paperc.com
Book Details
Authors
Categories
Computers > Programming > Microsoft Programming
Publishers
Publication year : 2012
License: All rights reserved ©
Times read: 1,728

