2010년 12월 13일 월요일

symbol server

Debugging Tools for Windows
심벌들 관리와 심벌 디버깅을 편리하게 하는 방법에 대해 알아보자. [구글링을 통해 모아모아~]
subversion 기준으로 하겠습니다.

symstore.exe 라는 유틸이 WinDbg가 설치된 곳에 있습니다.
svnindex.cmd 는 \srcsrv에 있네요. [perl이 필요하네요]
(실행시키 위해 환경변수 Path에 WinDbg경로를 등록해주시면 편리합니다)


windbg로 디버깅 할때 해당 소스를 볼려면 소스인덱싱을 합니다.
심볼을 심볼서버에 올리기전에 아래처럼
svnindex.cmd /source=D:\source_code /symbols=D:\output\release /debug
심벌 서버를 등록하는 방법은
symstore.exe add /r /f \\build_machine\output\release\*.* /s \\build_machine\symbols /t "Name" /c "Comment" /compress

자세한 건 symstore.exe /? 명령으로 확인해보시면 됩니다^^

windbg 실행하고 workspace 설정을
image file path 와 symbol file path에
SRV*\\build_machine\\symbols
source file path 에는
임의의 경로를 써주면 됩니다.

빌드 머신에서 빌드 후처리로 이러한 명령을 스크립트로 자동화 해놓으면 편하겠죠~ ^^
[hudson, cruiseControl]


댓글 없음:

댓글 쓰기