부모글 보이기/감추기 AD BLOCK 해제 요청 이 글에는 광고가 많이 들어가 있지 않습니다. adblock을 해제하셔도 글을 읽는데 그다지 부담이 없으니 해제를 부탁드립니다. (연관된 글이 3개 있습니다.) 제목 짓기가 영 난감하군요. ^^; .NET으로 오면서 기존에 너무나 어렵게만 구현되던 것들이 쉽게 구현되는 것들이 많습니다. PDB 파일을 통한 디버깅 심벌을 처리해서 Crash 되는 모듈의 주소를 찾아내는 것 역시 .NET이 주는 혜택 중의 하나입니다. 이번 강좌에서는, PDB에 관한 이야기를 하나씩 풀어보도록 하겠습니다. 이야기 진행 순서는, 일단 생각나는 것만 다음과 같습니다. 쪼끔 기대가 되시려나? ^^ 1. PDB 파일에 따른 Debug 정보 - WinForm + Library 유형의 프로젝트 2. PDB 파일에 따른 Debug 정보 - .NET 2.0 Web Application Project + Library 유형의 프로젝트 3. PDB 파일에 따른 Debug 정보 - .NET 2.0 Web Site Model Project 4.1 VS.NET 2005 디버그 모드에서의 PDB 파일 사용 차이 (1) 4.2 VS.NET 2005 디버그 모드에서의 PDB 파일 사용 차이 (2) 5.1 VS.NET 2005를 이용한 미니덤프 파일 분석 (1) 5.2 VS.NET 2005를 이용한 미니덤프 파일 분석 (2) 6. WinDBG를 이용한 미니덤프 파일 분석 7. Microsoft의 PDB 파일 관리 8. Symbol Server 생성 9. PDB 파일과 소스 코드 10. CCP를 이용한 Windows Source Code 수준의 디버깅 11. 소스 서버 구성 12. GAC에 등록된 Assembly 디버그 13. [내용 예약] 14.1 ASP.NET 디버깅 환경 구성(1) 14.2 ASP.NET 디버깅 환경 구성(2) 15 ~ [x]. [미정] [부록 1] AppVerifier 사용법 [부록 2] VS.NET 2003/2005의 다중 프로젝트 디버깅 [부록 3] COM+ 서버 응용 프로그램에 대한 F5 디버깅 방법 [부록 4] .NET 예외 처리 정리 [부록 5] .VS.NET 원격 디버깅 [부록 6] 비스타/롱혼 - VS.NET 2005에서의 웹 애플리케이션 디버깅 설정 최종적으로 Symbol Server, Source Server 및 WinDBG까지도 다뤄보도록 하겠습니다. 설마 여기 있는 모든 정보를 제가 스스로 알아낸 것이라고 오해하시는 분들은 없으시겠지요! ^^ 여기 있는 정보들은 모두 다음과 같은 참고 자료를 통해서 얻을 수 있는 내용들입니다. 책: - Debugging Applications for Microsoft .NET and Microsoft Windows - 고급 개발자들만이 알고 있던 Windows 구조와 원리 그리고 Codes 웹 사이트: - BUGSLAYER - SOS: It's Not Just an ABBA Song Anymore ; https://docs.microsoft.com/en-us/archive/msdn-magazine/2003/june/bugslayer-sos-it-s-not-just-an-abba-song-anymore - BUGSLAYER - Mini Dump Snapshots and the New SOS ; https://docs.microsoft.com/en-us/archive/msdn-magazine/2005/march/bugslayer-mini-dump-snapshots-and-the-new-sos - SOS Ref Manual ; C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Tool Developers Guide\Samples\sos\SOS.htm - .Net exceptions - Tracking down where in the code the exceptions occurred ; http://blogs.msdn.com/tess/archive/2006/05/18/601002.aspx - Visual Studio Debugger - Debugging in Visual Studio ; https://docs.microsoft.com/en-us/visualstudio/debugger/debugging-in-visual-studio?view=vs-2015 - Code Center Premium integration into Visual Studio ; https://docs.microsoft.com/en-us/visualstudio/debugger/how-to-debug-with-code-center-premium-source?view=vs-2015 - Use the Microsoft Symbol Server to obtain debug symbol files ; https://docs.microsoft.com/en-us/windows/win32/dxtecharts/debugging-with-symbols ... 그 외 알게 모르게 읽었던 모든 자료들.(생각날 때마다 추가하겠습니다.) [다음 글] 디버깅 기술: 6. .NET 예외 처리 정리[이전 글] 디버깅 기술: 5.1. PDB 파일에 따른 Debug 정보 - WinForm + Library 유형의 프로젝트 [연관 글] 개발 환경 구성: 18. 윈도우즈 인증서 서비스 이야기.NET Framework: 468. PDB 파일을 연동해 소스 코드 라인 정보를 알아내는 방법.NET Framework: 1027. 닷넷 응용 프로그램을 위한 PDB 옵션 - full, pdbonly, portable, embedded [최초 등록일: 12/27/2006] [최종 수정일: 7/17/2021] 이 저작물은 크리에이티브 커먼즈 코리아 저작자표시-비영리-변경금지 2.0 대한민국 라이센스에 따라 이용하실 수 있습니다. by SeongTae Jeong, mailto:techsharer at outlook.com 비밀번호 댓글 작성자 2006-08-11 06시17분 [비밀!!] 좋은정보 감사합니다^^(꾸벅) [guest] 2008-03-03 02시34분 Getting the right exception context from a memory dump ; https://docs.microsoft.com/en-us/archive/blogs/junfeng/getting-the-right-exception-context-from-a-memory-dump kevin25 2009-01-20 09시35분 How to Debug a workflow with Visual Studio ; https://docs.microsoft.com/en-us/archive/blogs/philloth/how-to-debug-a-workflow-with-visual-studio kevin25 2009-07-30 04시32분 [anyflow] 더 말씀 드릴 필요도 없이 아주 잘봤습니다.그러고보니..이건, 책을 쓰려는 의도에서?? ^^ [guest] 2009-07-30 05시04분 ^^ 책을 쓸 요량이면 여기다 안 쓰죠. 이 지식이 많이 많이 공유되길 바라며 쓴 것입니다. (너무 모르는 분들이 많아서.) kevin25 2009-08-23 09시48분 How Many Secrets do .NET PDB Files Really Contain? ; http://www.wintellect.com/CS/blogs/jrobbins/archive/2009/08/22/how-many-secrets-do-net-pdb-files-really-contain.aspx kevin25 2012-07-22 05시04분 Debugging with Symbols ; https://docs.microsoft.com/en-us/windows/win32/dxtecharts/debugging-with-symbols 정성태 ... [61] 62 63 64 65 66 67 68 69 70 71 72 73 74 75 ... NoWriterDateCnt.TitleFile(s) 12410정성태11/12/202017580디버깅 기술: 174. windbg - System.TypeLoadException 예외 분석 사례12409정성태11/12/202019417.NET Framework: 968. C# 9.0의 Function pointer를 이용한 함수 주소 구하는 방법112408정성태11/9/202034663도서: 시작하세요! C# 9.0 프로그래밍 [8]12407정성태11/9/202019760.NET Framework: 967. "clr!JIT_DbgIsJustMyCode" 호출이 뭘까요?12406정성태11/8/202020753.NET Framework: 966. C# 9.0 - (15) 최상위 문(Top-level statements) [5]112405정성태11/8/202018601.NET Framework: 965. C# 9.0 - (14) 부분 메서드에 대한 새로운 기능(New features for partial methods)112404정성태11/7/202019227.NET Framework: 964. C# 9.0 - (13) 모듈 이니셜라이저(Module initializers)112403정성태11/7/202018134.NET Framework: 963. C# 9.0 - (12) foreach 루프에 대한 GetEnumerator 확장 메서드 지원(Extension GetEnumerator)112402정성태11/7/202019628.NET Framework: 962. C# 9.0 - (11) 공변 반환 형식(Covariant return types) [1]112401정성태11/5/202018900VS.NET IDE: 153. 닷넷 응용 프로그램에서의 "My Code" 범위와 "Enable Just My Code"의 역할 [1]12400정성태11/5/202015133오류 유형: 679. Visual Studio - "Source Not Found" 창에 "Decompile source code" 링크가 없는 경우12399정성태11/5/202018655.NET Framework: 961. C# 9.0 - (10) 대상으로 형식화된 조건식(Target-typed conditional expressions)112398정성태11/4/202018161오류 유형: 678. Windows Server 2008 R2 환경에서 Powershell을 psexec로 원격 실행할 때 hang이 발생하는 문제12397정성태11/4/202018183.NET Framework: 960. C# - 조건 연산자(?:)를 사용하는 경우 달라지는 메서드 선택 사례112396정성태11/3/202015205VS.NET IDE: 152. Visual Studio - "Tools" / "External Tools..."에 등록된 외부 명령어에 대한 단축키 설정 방법12395정성태11/3/202017978오류 유형: 677. SSMS로 DB 접근 시 The server principal "..." is not able to access the database "..." under the current security context.12394정성태11/3/202015608오류 유형: 676. cacls - The Recycle Bin on ... is corrupted. Do you want to empty the Recycle Bin for this drive?12393정성태11/3/202015278오류 유형: 675. Visual Studio - 닷넷 응용 프로그램 디버깅 시 Disassembly 창에서 BP 설정할 때 "Error while processing breakpoint." 오류12392정성태11/2/202019820.NET Framework: 959. C# 9.0 - (9) 레코드(Records) [4]112390정성태11/1/202019471디버깅 기술: 173. windbg - System.Configuration.ConfigurationErrorsException 예외 분석 방법12389정성태11/1/202018616.NET Framework: 958. C# 9.0 - (8) 정적 익명 함수 (static anonymous functions)112388정성태10/29/202017669오류 유형: 674. 어느 순간부터 닷넷 응용 프로그램 실행 시 System.Configuration.ConfigurationErrorsException 예외가 발생한다면?12387정성태10/28/202018459.NET Framework: 957. C# - static 필드의 정보가 GC Heap에 저장될까요? [3]112386정성태10/28/202019198Linux: 34. 사용자 정보를 함께 출력하는 리눅스의 ps 명령어 사용 방법12385정성태10/28/202016528오류 유형: 673. openssl - req: No value provided for Subject Attribute CN, skipped12384정성태10/27/202018870오류 유형: 672. AllowPartiallyTrustedCallers 특성이 적용된 어셈블리의 struct 멤버 메서드를 재정의하면 System.Security.VerificationException 예외 발생 ... [61] 62 63 64 65 66 67 68 69 70 71 72 73 74 75 ...