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

10. Errors and DebuggingΒΆ

  • 10.1. What is Debugging?
    • 10.1.1. Beginning Tips for Debugging
    • 10.1.2. Check Your Understanding
  • 10.2. Types of Errors
    • 10.2.1. Stages for Running a Python Program
      • 10.2.1.1. Stage 1 - Parsing
      • 10.2.1.2. Stage 2 - Execution
    • 10.2.2. Syntax Errors
    • 10.2.3. Runtime Errors
    • 10.2.4. Logic Errors
    • 10.2.5. Check Your Understanding
  • 10.3. Error Messages are Good
    • 10.3.1. A Syntax Error
    • 10.3.2. Syntax Errors and Code Highlighting
    • 10.3.3. A Runtime Error
    • 10.3.4. Runtime Errors and Code Highlighting
  • 10.4. Fixing Logic Errors
    • 10.4.1. Printing Values
  • 10.5. How To Avoid Debugging
    • 10.5.1. Start Small
    • 10.5.2. Keep It Working
    • 10.5.3. Talk to a Duck
    • 10.5.4. Practice Makes Better
  • 10.6. Asking Good Questions
    • 10.6.1. What is the problem with your code?
    • 10.6.2. What have you done to try to fix the problem?
    • 10.6.3. Where have you looked for an answer?
  • 10.7. Exercises: Errors and Debugging
    • 10.7.1. Find and Fix Syntax Errors
    • 10.7.2. Find and Fix Runtime Errors
    • 10.7.3. Solve Logic Errors
    • 10.7.4. Submitting Your Work
    • 10.7.5. Submitting Your Work
  • 10.8. Studio: Errors and Debugging
    • 10.8.1. Fix Syntax Errors First
    • 10.8.2. Fix Runtime Errors Next
    • 10.8.3. Solve Logic Errors Last
  • ← 9.11. Studio: Strings and Lists
  • 10.1. What is Debugging? →

Back to top