Using Windows Dump Files for Postmortem Analysis

wRTOS extends the Windows memory dump file to include information about wRTOS. A Windows small memory dump file contains both Windows STOP Message information and key information about the current state of the RTSS Subsystem (specifically, the current running process and thread). The other Windows dump files (complete/automatic/kernel) provide more detailed information since they are not limited by size. You can load a Windows memory dump file in WinDbg and view RTSS Subsystem data.

Topics below:

About Windows Memory Dump Files

wRTOS WinDbg Extension can be used for postmortem debugging of all Windows memory dump files. You can configure Windows to generate a Complete memory dump, Kernel memory dump, Small memory dump, or Automatic memory dump (default). We recommend using an Automatic memory dump.

For more information on the different types, see the MSDN article Varieties of Kernel-Mode Dump Files at http://msdn.microsoft.com/en-us/library/windows/hardware/ff560246(v=vs.85).aspx

Note: Small memory dumps include a limited amount of wRTOS information due to the size limitations of a small dump. Therefore, small memory dumps are not recommended.

Opening the Memory Dump File

After you open the Windows memory dump containing the wRTOS information, you must load the 64-bit version of WinDbg Extension to use the wRTOS WinDbg Extension commands.

Note: wRTOS WinDbg Extension requires the correct symbols to load a memory dump file.

To open the dump file in WinDbg:

  1. From the File menu, choose Open Crash Dump.
  2. Locate and select your memory dump file, and then click OK.

Additional Information about WinDbg and Windows Dumps

The following links provide more information about memory dumps and WinDbg.

For information on crash dumps:

http://www.dumpanalysis.org

For information on Microsoft's Debugging Tools for Windows, including WinDbg:

http://msdn.microsoft.com/en-us/library/ff551063.aspx

Quick Start: Debugging Memory Dump Files

If you must use a Windows small memory dump due to space limitations, we recommend you try this order of operations:

For more information on using commands, see using Using WinDbg Extension Commands.

Related topics: