A valid definition of retarded: debugging by using your brain to simulate a machine executing your code, and then printing variables to the console to validate your assumptions.
This is why tools like GDB exist.
What is GDB?
Please Login to reply.
https://www.sourceware.org/gdb/