Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Debugging C Code

via LinkedIn Learning

Overview

Get an in-depth look at how to find and fix bugs in your C code. Learn how to spot common problems that lead to bugs, use an IDE debugger, work with the GNU Debugger, and more.

Syllabus

Introduction
  • Out bugs
  • Required tools
1. Bugs in Your Code
  • Understanding bugs
  • Catching bugs
  • Debugging your code manually
  • Reviewing ten common coding problems
  • Challenge: Where is the error?
  • Solution: Where is the error?
2. IDE Debugging
  • Building a debug project
  • Stepping through your code
  • Examining variables and memory
  • Challenge: Find the bug
  • Solution: Find the bug
3. The GNU Debugger
  • Compiling code for debugging
  • Setting breakpoints
  • Dumping memory
  • Challenge: Fix the code
  • Solution: Fix the code

Taught by

Dan Gookin

Reviews

4.6 rating at LinkedIn Learning based on 59 ratings

Start your review of Debugging C Code

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.