Python Debugging
asyncio 디버깅 — 짧은 콜스택과 slow callback 추적
코루틴 콜스택 추적, asyncio debug=True, slow callback, race condition.
· 3분 읽기
python debugging
Tech articles, book reviews, and presentations.
페이지 23 / 73
코루틴 콜스택 추적, asyncio debug=True, slow callback, race condition.
debugpy로 IDE 디버깅, 원격 프로세스 attach, justMyCode, 멀티프로세스.
표준 라이브러리 pdb. breakpoint(), 핵심 명령, ipdb, postmortem.
Sanitizer 빌드를 프로젝트에 자연스럽게 통합 — CMake 옵션, GitHub Actions, GitLab CI 실전 예시.
ThreadSanitizer로 멀티스레드 버그 추적 — happens-before 모델, false positive, atomic·mutex 통합.
LeakSanitizer로 메모리 누수 추적 — 보고서 해석, suppression, 일회성·반복 분석 패턴.
황금 조합 -fsanitize=address,undefined를 실제로 켜고 운영하는 자세한 방법 — 옵션, 환경 변수, suppression, 흔한 오탐.
C/C++ 런타임 검사 도구 Sanitizer 계열의 역할, 종류별 선택, 실무 도입 순서.
Valgrind suppression 문법, 외부 라이브러리 우회, Sanitizer와의 분담, CI 통합 실전.
Valgrind의 두 동시성 분석 도구 비교 — Helgrind의 락 추적과 DRD의 vector clock, 언제 무엇을.