I'm really enjoying coding but I get stuck for hours on tiny errors.

Asked (@emythedev) ·

Yesterday I spent 45 minutes because I typed prnt instead of print, How do experienced people debug? Do you have any beginner debugging checklist or habits I can start building now so I don't feel so lost every time?

Answers (14)

  1. Maxim Build · · 2 likes

    Super normal even experienced devs spend ages on tiny typos sometimes.

  2. Joshua · · 1 like

    Honestly, debugging is a skill you build over time. Start by checking the error message first.

  3. Maurice · · 1 like

    First habit: read the error slowly. Python usually tells you the exact line causing the issue.

  4. Zainab · · 1 like

    I always use print() to check what values variables hold while debugging.

  5. Lateef · · 1 like

    Feeling lost is normal at first — every bug you fix makes you better.

  6. The devquee · · 1 like

    Honestly, half of debugging is spotting missing brackets, colons, or typos

  7. Idhika · · 1 like

    One habit that helps is coding in small steps and running it often.

  8. Shreya · · 1 like

    A good checklist: read error → check line → check spelling → test small parts.

  9. Mandel · · 1 like

    Tiny mistakes like prnt vs print happen to everyone, don’t stress.

  10. Ayush · · 1 like

    It usually tells you exactly where to look. If it says NameError: name 'prnt' is not defined, you know it’s a typo on that specific line

  11. Ayush · · 1 like

    It usually tells you exactly where to look. If it says NameError: name 'prnt' is not defined, you know it’s a typo on that specific line

  12. Vision · · 1 like

    totally normal 😭

    simple habit:
    read the error, check the line, look for typos first, most bugs are small things, not big problems

  13. mousedevv · · 1 like

    For real so glad to see this is an issue for everyone LOL. With time you'll see what needs extra attention but hey debugging can be fun sometimes

  14. Hadi ·

    Totally normal—everyone did that. Quick checklist: read the last error line first, check the line number, print your variables, comment out code to isolate, reread what you typed (typos are #1). Use your editor's autocomplete and linter. Take a 5-min break when stuck. Rubber duck it out loud. You'll get faster.

14 likes · 14 answers · 5 views

Explore more on Prompted