I'm currently developing a c++ application using DevC++. It's a 3d graphics application and in some part I have to execute a Collision detection function in order to make objects recoil. I have however encountered a problem I have never seen. After compiling a demo application i execute it and see that either the collision detection or the collision response does not work as intended. Meaning that objects continue to move as they were non-solid (they pass through each other). Obviously thinking of an error in the code I try to execute the debugger, and I've noticed that running under the debugger (without setting any breakpoints) the application works perfectly! How is this possible?
I'm not looking for help in the actual programming, but I want to know if there is someone that can give me some direction for resolving this issue. What is different in the debugger? What is, in general, that is executed differently in the debugger with respect to the common executable? Has anyone had a similar problem before?