Skip to main content

Section outline

    • Introduction to GDB: Core features and commands.
      • Hands-on Lab: Set up GDB and debug a basic C program.
    • Breakpoints and Watchpoints: Monitoring code behavior.
      • Hands-on Lab: Set breakpoints and watchpoints.
    • Stack, Memory, and Data Inspection: Analyzing runtime behavior.
      • Hands-on Lab: Explore stack and heap memory using GDB.
    • Debugging Real-World Applications: Fixing bugs step by step.
      • Hands-on Lab: Debug a real C application and fix logical errors.