다음을 통해 공유


Dump-File Targets

크래시 덤프 파일의 소개 및 개요는 크래시 덤프 파일을 참조하세요.

덤프 파일 열기

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. 프로세스 또는 커널에서 덤프 파일을 만들면 마지막 이벤트에 대한 정보가 덤프 파일에 저장됩니다. 덤프 파일을 연 후 다음에 실행이 시도되면 엔진은 이벤트 콜백에 대해 이 이벤트를 생성합니다. 그런 후에만 덤프 파일을 디버깅 세션에서 사용할 수 있게 됩니다. 자세한 내용은 디버깅 세션 및 실행 모델을 참조하세요.

추가 파일을 사용하여 크래시 덤프 파일 디버깅을 지원할 수 있습니다. The methods AddDumpInformationFile and AddDumpInformationFileWide register files containing page-file information to be used when the next dump file is opened. 덤프 파일을 열기 전에 이러한 메서드를 호출해야 합니다. 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.

사용자 모드 미니덤프 파일에는 여러 가지 정보 스트림이 포함되어 있습니다. These streams can be read using the Request operation DEBUG_REQUEST_READ_USER_MINIDUMP_STREAM.

덤프 파일 만들기

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.