DOI QR코드

DOI QR Code

Post Mortem Debugging And Process Dump

포스트 모템 디버깅과 프로세스 덤프

  • Park, Ju-Hang (Course for Industrial Technology(Digital Entertainment) Graduate School of Industrial Technology & Management Korea Polytechnic University) ;
  • Kim, Young-Sik (Course for Industrial Technology(Digital Entertainment) Graduate School of Industrial Technology & Management Korea Polytechnic University)
  • 박주항 (한국산업기술대학교 산업기술경영대학원 디지털엔터테인먼트학과) ;
  • 김영식 (한국산업기술대학교 산업기술경영대학원 디지털엔터테인먼트학과)
  • Received : 2011.02.09
  • Accepted : 2011.04.13
  • Published : 2011.04.20

Abstract

Debugging is very important element in programming development. We can find a lot of bug of program we made, and we can fix it. but after a product is released, we need system we can catch bugs as soon as possible. For this, we need to know post-mortem debugging. We will look at post-mortem debugging, and we will talk about process dump. Also when process get the problem, we should get the process dump, but we can have situation process dump was not generated. We will consider this case, and we will examine programming technique which this case can be retrieved. Finally, I will introduce EHModule(exception handler module)

프로그램 개발에 있어 디버깅은 매우 중요한 요소이다. 개발 과정에서 디버깅을 통해 버그를 대부분 잡을 수 있지만 제품이 출시된 이후에도 프로그램 버그를 잡을 수 있는 시스템이 필요하다. 이를 위해 포스트 모템 디버깅에 대해 살펴보고 프로세스 덤프에 대해 논의한다. 또한 프로그램이 다운되었는데 프로세스 덤프가 생성되지 않는 상황에 대해 원인을 분석해 보도록 한다. 아울러 검증된 예외 핸들러라 하더라도 프로세스 덤프를 남기지 못하는 상황을 이해하고 이런 상황을 타개하기 위해 EHModule(Exception Handler Module)를 구현한다. 구현한 EHModule의 핵심 루틴을 설명하고 해당 모듈의 특징 및 효용성에 대해 언급한다.

Keywords

References

  1. 실전 윈도우 디버깅 / Mario Hewardt Daniel Pravat
  2. Windows 구조와 원리 - OS를 관통하는 프로그래밍의 원리 / 정덕영
  3. MicroSoft Debugging Application .Net And Windows / 존 로빈스 저 서우석 역
  4. M. Myllyaho, O. Salo, J. Kaariainen, J. Koskela, A review of small and large post-mortem analysis methods,in: Proceedings of the ICSSEA, Paris, 2004
  5. Bonnie Collier: Project Review Process Web Site-PostmortemToolkit; http://www.projectreview.net/prtoolkit.asp [Retrieved March 28, 2004], 1996
  6. Tobias Klein. Process Dump Analyses: Forensical acquisition and analyses of volatile data; http://www.trapkit.de/img/pdf.gif
  7. ProcDump로 CPU 사용률 조건별 덤프 생성; http://laigo.kr/499?srchid=BR1http%3A%2F%2Flaigo.kr%2F499
  8. 예외를 만들지 않고, 그냥 사라지는 프로세스; http://serious-code.net/moin.cgi/CppDebuggingTips#head-ff430a953a7bcd6b78b3520757ea9c69149bc9c3
  9. "SetUnhandledExceptionFilter" and VC8; http://blog.kalmbachnet.de/?postid=75
  10. 덤프가 남지 않는 경우는 어떤 경우가 있을까요?; http://www.gpgstudy.com/forum/viewtopic.php?topic=23283
  11. Minidump stack overflow 검출; http://sweeper.egloos.com/2420307
  12. NDC 10 진선웅 클라이언트 오류처리 A to Z; http://ndc.nexon.com/150091248918
  13. Userdump.exe 도구를 사용하여 덤프 파일을 만드는 방법; http://support.microsoft.com/?scid=kb;ko;241215&x=14&y=15
  14. 구글 브레이크 패트; http://code.google.com/p/google-breakpad/
  15. 버그트랩; http://www.codeproject.com/KB/applications/BugTrap.aspx