This video provides an example of how to debug code once you have separated the UI file and the calling code file. It reflects reviewing quite a few bugs, especially since the code was an attempt at copying one of my previous video codes.
The original correct code is available here: • INF2611 - 2021 - Assignment 2