@alexibm
That was a hilarious post but on a serious note such has been the scene in my case too.

Currently I am somewhat comfortable with debugging, but the question I would like to put forth is here:
The .exe file that I have created accesses an image file. Luckily the current compilation works and I get the desired result. But I am not able to get results when I debug.

I guess that's so because, while debugging the image file is not accessible to the debugger. Where should I copy the image file so that even while debugging I get the same result? In the case of the compiled .exe file, the image files sits right besides the .exe.