The OpenDumpFile method opens a dump file as a debugger target.
- DumpFile [in]
Specifies the name of the dump file to open. DumpFile must include the file name extension. DumpFile can include a relative or absolute path; relative paths are relative to the directory in which the debugger was started. DumpFile can have the form of a file URL, starting with "file://". If DumpFile specifies a cabinet (.cab) file, the cabinet file is searched for the first file with extension .kdmp, then .hdmp, then .mdmp, and finally .dmp.
This method may also return error values. See Return Values for more details.
The method was successful.
The Unicode version of this method is OpenDumpFileWide.
Note The engine doesn't completely attach to the dump file until the WaitForEvent method has been called. When a dump file is created from a process or kernel, information about the last event is stored in the dump file. After the dump file is opened, the next time execution is attempted, the engine will generate this event for the event callbacks. Only then does the dump file become available in the debugging session.
For more information about crash dump files, see Dump-File Targets.
- .opendump (Open Dump File)