Debugging C and C++: Master GDB, Valgrind, and Memory Safety

Learn to find, diagnose, and fix memory leaks and runtime errors in C and C++ using GDB, Valgrind, and modern sanitizers to write robust, production-ready code.

4.5 (345) ⏱ 1시간 57분 📚 5개 레슨

이 과정 소개

Relying on print statements to find bugs in your C and C++ programs is slow, exhausting, and often fails to uncover hidden memory leaks. To build robust, production-grade software, you need to master the professional tools and systematic techniques used to diagnose complex runtime errors. This written course guides you through the essential concepts of software debugging. You will transition from guessing where errors are to systematically identifying, analyzing, and fixing segmentation faults, memory leaks, and undefined behavior. What you'll learn: - Understand core debugging terminology, memory layouts, and why common C/C++ bugs occur. - Master GDB commands to inspect variables, set breakpoints, navigate call stacks, and perform reverse debugging. - Detect memory leaks and invalid memory accesses using Valgrind Memcheck. - Apply modern compiler instrumentation techniques like AddressSanitizer (ASan) to catch bugs at runtime. - Analyze core dumps to debug crashes that happen in production environments. - Write GDB scripts to automate repetitive debugging workflows and save time. You will start with foundational concepts of program execution and memory safety before moving step-by-step through practical debugging scenarios. Through written explanations and code analysis exercises, you will build a solid mental model of how programs fail and how to fix them. This course is designed for beginner-to-intermediate C and C++ developers who want to move beyond basic print-statement debugging. No prior experience with debugging tools is required. Equip yourself with the skills to write cleaner, safer, and more reliable C and C++ code.

받게 되는 것

  • 📜 수료증
    LinkedIn 프로필에 추가
  • ♾️ 평생 이용
    언제든 다시 보세요, 만료 없음
  • 📱 휴대폰 또는 컴퓨터
    어디서든 모든 기기에서
  • 💸 30일 환불
    이유 묻지 않음
  • 짧고 핵심적
    1시간 57분의 실용 학습

리뷰 (3)

Ricardo Pinto PT 인증된 학습자
★ 4 · 2025-10-03T07:59:55+00:00

주제에 대한 좋은 소개였습니다. 구성은 논리적이었고 대부분의 예시가 관련성이 있었지만, 특정 부분에서는 더 깊이가 있었으면 하는 아쉬움이 남습니다.

Leo Evans GB
★ 4 · 2025-04-17T13:12:55+00:00

여기 좋은 정보가 담겨 있네요. 예시들은 도움이 되었지만, 가끔은 좀 더 깊이가 있었으면 했어요. 가격 대비 괜찮은 편이에요.

Róbert Jankovič SK 인증된 학습자
★ 2 · 2024-12-23T08:50:55+00:00

복습용으로 유용했어요. 완전 초보자에게는 최고의 시작점이 될지는 잘 모르겠어요, 솔직히.

리뷰 쓰기

보낸 뒤 로그인을 안내합니다 — 임시저장됩니다.

다른 학습자도 수강

자주 묻는 질문

이 과정을 듣는 데 무엇이 필요한가요? +

인터넷이 되는 휴대폰이나 컴퓨터만 있으면 됩니다. 설치나 특별한 장비는 필요 없습니다.

결제는 어떻게 하나요? +

Stripe를 통한 카드 또는 암호화폐로. 카드 정보는 저장하지 않으며 Stripe가 안전하게 처리합니다.

환불받을 수 있나요? +

네 — 30일 이내 전액 환불, 이유를 묻지 않습니다.

얼마나 오래 이용할 수 있나요? +

평생. 구매하면 과정은 당신의 것이며 언제든 다시 볼 수 있습니다.

수료증을 받을 수 있나요? +

네. 수료 시 LinkedIn 프로필에 추가할 수 있는 수료증을 받습니다.

이런 분야 학습자에게
테크 디자인 금융 마케팅 의료 교육 호스피탈리티 제조업