First of all, please use code tags whenever necessary.
| CODE |
thanks  |
Much more readable that way.
Ontopic now, I'm pretty sure that calling member functions of a class isn't the problem here. Setting while(true) loops won't help you to solve runtime problems in complicated apps like StepMania.
I suggest you read up on C++ debugging, like breakpoints, watches and call stacks. The XDK has an excellent set of debugging tools, you could try finding out how to use them by taking a look at existing projects, like XBMC or the XDK-samples provided by M$.