Windbg로 분석하는 내용을 로그 파일에 저장하는 명령어입니다.
보통 !memusage, !process 0 0 명령어를 실행시켜보면… 엄청나게 많은 내용이 막 생성됩니다… 이럴 때 아주 유용하게 사용할 수 있는 명령어입니다. 그리고 분석이 다 끝나면 .logclose로 깔끔하게 마무으리(?)
/* 설명 */
The .logopen command sends a copy of the events and commands from the Debugger Command window to a new log file. |
/* 옵션 */
.logopen [Options] [FileName] .logopen /d
/t Appends the process ID with the current date and time to the log file name. This data is inserted after the file name and before the file name extension.
/u Writes the log file in Unicode format. If you omit this option, the debugger writes the log file in ASCII (ANSI) format.
FileName Specifies the name of the log file. You can specify a full path or only the file name. If the file name contains spaces, enclose FileName in quotation marks. If you do not specify a path, the debugger uses the current directory. If you omit FileName, the debugger names the file Dbgeng.log.
/d Automatically chooses a file name based on the name of the target process or target computer and the state of the target. The file always has the .log file name extension.
|
/* 사용법 */
|