Day 13: Debugging - How To Find and Fix Errors in Your Code
This write-up is going to be VERY short. Just want to note some of the tips and tools Angela mentioned.
There were a few general tips she mentioned that always come in handy when debugging:
- Descripe the problem
- Reproduce the bug
- Evaluate each line
- Utilize print()....a lot lol
- Using an actual Debugger
I won't go into the details of each but I have some other resources bookmarked if needed.
The Debuggers she recommended were Thony (desktop app) and Python Tutor (pythontutor.com). I downloaded Thony but didn't seem to be working for me (most likely not doing something correct on my end) so I used PT. Also, PT shows a visualization along with the step-by-step of the program.
Like I said, very short write up but I did learn a few good tips for debugging.
If you want to keep up with my progress or just want to connect as peers, check out my social links below and give me a follow!