본문으로 바로가기

준비

Debugging 할 PC(Windows XP vmware)

Windbg

 

설정

Host PC에 Windbg 설치 후 symbol path 설정

  • d:\Symbols;srv*d:\Symbols*http://msdl.microsoft.com/download/symbols

 

C:\boot.ini 파일 수정

  • multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional-debug" /fastdetect /debugport=com1 /baudrate=115200

 

Vmware setting - add - serial port - pipe 

 

File - Kernel Debugging(ctrl + k)에서 값 설정

 

Windbg가 대기상태로 변경되면 XP시작

 

윈도우 부팅이 완료되면 windbg 메뉴 - Debug - break (ctrl + Break) 를 이용하여 break 후 debugging 시작