LaunchCode logo
  1. Contents
  2. 9. Errors and Debugging

9. Errors and DebuggingΒΆ

  • 9.1. What is Debugging?
    • 9.1.1. Beginning Tips for Debugging
    • 9.1.2. Check Your Understanding
  • 9.2. Types of Errors
    • 9.2.1. Stages for Running a Python Program
      • 9.2.1.1. Stage 1 - Parsing
      • 9.2.1.2. Stage 2 - Execution
    • 9.2.2. Syntax Errors
    • 9.2.3. Runtime Errors
    • 9.2.4. Logic Errors
    • 9.2.5. Check Your Understanding
  • 9.3. Error Messages are Good
    • 9.3.1. A Syntax Error
    • 9.3.2. Syntax Errors and Code Highlighting
    • 9.3.3. A Runtime Error
    • 9.3.4. Runtime Errors and Code Highlighting
  • 9.4. Fixing Logic Errors
    • 9.4.1. Printing Values
  • 9.5. How To Avoid Debugging
    • 9.5.1. Start Small
    • 9.5.2. Keep It Working
    • 9.5.3. Talk to a Duck
    • 9.5.4. Practice Makes Better
  • 9.6. Asking Good Questions
    • 9.6.1. What is the problem with your code?
    • 9.6.2. What have you done to try to fix the problem?
    • 9.6.3. Where have you looked for an answer?
  • 9.7. Exercises: Errors and Debugging
    • 9.7.1. Find and Fix Syntax Errors
    • 9.7.2. Find and Fix Runtime Errors
    • 9.7.3. Solve Logic Errors
  • 9.8. Project: Errors and Debugging
    • 9.8.1. Fix Syntax Errors First
    • 9.8.2. Fix Runtime Errors Next
    • 9.8.3. Solve Logic Errors Last
  • 9.9. Project: Errors and Debugging (Translated)
    • 9.9.1. Fix Syntax Errors First
    • 9.9.2. Fix Runtime Errors Next
    • 9.9.3. Solve Logic Errors Last
  • ← 8.11. Project: Lists
  • 9.1. What is Debugging? →

Back to top

Page Source