Hello,

During debugging, I noticed it would be very, very useful if I could call a function between every 2 functions that the Scheduler calls. (That is, between all functions which are in a "wait"-state). Then, I also want this function to be called with the name of the next function in the scheduler as an argument.
More precisely, if this is the list of functions in the scheduler:
main
bot_move
ship_move
explosionLarge
asteroid

Then I want the functions to be called in this order:
main
debugFct("bot_move");
bot_move
debugFct("ship_move");
ship_move
debugFct("explosionLarge");
explosionLarge
debugFct("asteroid");
asteroid

Then the debugFct would always log the value of a certain pointer so I could see which function changed the pointer (or at least I'd know which function called a function which changed the value - a great step ahead from where I'm at now.)

CSiS is hundreds and hundreds of functions large, and some function randomly changes one of my Text objects. I know what Object it changes, but I can't find which function changes it. The above was my idea of how to do it, if there's a better way to do it, I'm glad to hear about it.
So is there any way to manipulate the scheduler?

Thanks, and I hope I was clear...
Micha

Edit: I'm using 7.86.6

Last edited by Germanunkol; 10/17/11 19:47.

~"I never let school interfere with my education"~
-Mark Twain