I am seeing some very strange behavior that I was hoping someone could shed some light on.
I am working on a project, and right now I have a circle that the user has a degree of control over that moves around the screen, with gravity effects etc. There are a series of lines that the circle will collide with a bounce off. I am using a Swept-circle implementation for the circle-line collision detection, for those who know what that is, and everything seems to work perfectly when I debug via android.
However, when a debugger is NOT attached (I disconnect the USB cable, or just run the app directly through the device) the circle immediately starts sticking to the lines. I have tried this on both an Iconia Tab and an Incredible smart phone with the exact same behavior. Also the frame rate is pegged at the screen refresh on both devices so I can't see how a time interval change could cause any issue.
Is there any difference in the way the apps run while a debugger is attached that I could start investigating?
Naturally, I can't debug WHY the circle is sticking to the lines without the debugger attached, and when the debugger is attached the problem is not there.
VERY frustrating. Any insight would be greatly appreciated.