Began debugging my command line interface code.
- Discover that the columns which referred to my Google Sheet were incorrect; fixed string in code.
- Bold print statements in terminal for readability, and fixed ANSI escape codes to properly clear the terminal.
- Fix iterator problems. Previously, there did not exist a global tracker variable, and since i reset after every while loop, the number stored to finalassignments dictionary was incorrect.
- Fix infinite looping in the while loop for edge cases where none of the conditions are satisfied. Now with a proper error statement and ending of loop.
- Added a continue statement to prevent code from pushing before the questionary interface has finished receiving all inputs.
Most of these errors were small bugs in the system, not major conceptual issues. However, I did learn how to use the VSCode debugging feature while going through this, as it is a program that is easy to set breakpoints in and analyze variables.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.