This is going to be a bit vague, because I can't give a whole load of detail. I have a really odd stutter in a game I'm working on. The game is perfectly silky smooth, apart from the one specific time when a key is released.
The key itself is a brake mechanism, it basically multiples a vector and some other stuff. The thing is, while the key is being held down and all this funky stuff is going on everything is fine. When you release the key the game stutters for 1/4 to 1/2 a second, but the code is doing less. A lot less.
I've been over and over the routines and can't find any reason for it. And because the stutter happens when the extra load has ended I don't have anything to isolate.
How do you folks track down odd little hiccups of this kind? Is there any profiling software that might help?
Any advise welcome.