Game Development Community

Torsion: timers fire when breakppointed

by Orion Elenzil · in Torsion · 03/15/2007 (3:53 pm) · 4 replies

Howdy -

so i've got several torqscript timers which fire off periodically - every five or ten seconds, say.

i'll breakpoint in an unrelated area of code and be stepping along happily
when one of the timers fires and when i next step, i leave the context i was in
and go over to the timer's code.

is it possible to stop the advancing of these timers while stepping ?

#1
03/15/2007 (4:18 pm)
Well... maybe this can be considered a bug. I need to look at when the scheduled events are fired, as i don't think they should occur during normal debug stepping unless you step from one frame to the next. I'll make note of this when i get back to Torsion work this weekend.
#2
03/15/2007 (4:33 pm)
Hi Tom - thanks for the fast reply.

yes, this is via normal singe-statement stepping. ie F10.
#3
03/16/2007 (8:53 am)
You know what happens to me more than anything, is that F10 is set to open up the GUI editor. So stepping through with F10 causes it to open even when it is in the background.
#4
03/16/2007 (11:18 am)
@Adam - That happens to me too with F10 and F11. As a hack i usually remap all the utility keys (gui editor, mission editor, netgraph, etc) in Torque to Ctrl+xxx. Still i believe that this may be fixed in Torque itself to discard key presses when unfocused... i just haven't had time to go after it and fix it.