Enabling Crash Dumps on the Target System

As presented in Chapter 17, crash dumps that occur after a driver failure can be very helpful in isolating and locating bugs. To enable this feature on a target machine, the following steps are required:

  1. From the Control Panel, select the System applet.

  2. Select the Advanced tab.

  3. Choose the Startup and Recovery button.

  4. Select either Complete Memory Dump or Kernel Memory Dump from the Write Debugging Information group. It is prudent to also select Overwrite any existing file.

  5. Note (or change) the location and filename of the crash dump file. By default, it is %SystemRoot%\MEMORY.DMP.

  6. Select OK.

  7. Reboot the system, as the changes made to this reconfiguration take effect only with the next boot.

When a crash occurs, ...

Get Windows® 2000 Device Driver Book: A Guide for Programmers, Second Edition, The now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.