Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
En introduktion och översikt över kraschdumpfiler finns i Kraschdumpfiler.
Öppna dumpfiler
To open a crash dump file for use as a debugger target, use OpenDumpFile or OpenDumpfileWide. These methods are similar to the .opendump debugger command.
Note The engine doesn't completely attach to the dump file until the WaitForEvent method has been called. När en dumpfil skapas från en process eller kernel lagras information om den senaste händelsen i dumpfilen. När dumpfilen har öppnats genereras händelsen för händelseåteranrop nästa gång körningen görs. Först då blir dumpfilen tillgänglig i felsökningssessionen. Se Felsökningssession och körningsmodell för mer information.
Ytterligare filer kan användas för att felsöka en kraschdumpfil. The methods AddDumpInformationFile and AddDumpInformationFileWide register files containing page-file information to be used when the next dump file is opened. Dessa metoder måste anropas innan dumpfilen öppnas. GetNumberDumpFiles will return the number of such files that were used when the current dump file was opened and GetDumpFile will return a description of these files.
Minidupliceringsfiler i användarläge innehåller flera dataströmmar. These streams can be read using the Request operation DEBUG_REQUEST_READ_USER_MINIDUMP_STREAM.
Skapa dumpfiler
To create a crash dump file of the current target -- user-mode or kernel-mode -- use WriteDumpFile2. This method is similar to the .dump debugger command.