It would be useful to have a debug build of the game and run it with a profiler or debugger to see where it's looping.