Chapter 4. Postmortem Debugging
In this chapter
| Just-in-Time Debugging |
| Dump Debugging |
| Summary |
Software crashes are, sadly, all too common and often occur under unpredictable conditions that make them hard to reproduce, so it would be unfortunate if such crashes left no trace. Fortunately, the Microsoft Windows operating system (OS) has support for automatically capturing partial or full-memory snapshots in response to a crash and saving them to disk for later analysis. These memory dump files can then be investigated using debuggers in a passive debugging mode called postmortem debugging. Both the Windows debuggers and the Microsoft Visual Studio debugger support this form of analysis, although the Windows debuggers are in many ways superior in this ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access