Running under VC and Torsion debugger at the same time
by Ian Omroth Hardingham · in Torsion · 08/08/2013 (1:43 am) · 7 replies
Hey guys.
Don't suppose there's any way to run Torque from VC and have it auto-connect to the torsion debugger, so I can put breakpoints in both script and code?
Cheers,
Ian
Don't suppose there's any way to run Torque from VC and have it auto-connect to the torsion debugger, so I can put breakpoints in both script and code?
Cheers,
Ian
About the author
Designer and lead programmer on Frozen Synapse, Frozen Endzone, and Determinance. Co-owner of Mode 7 Games.
#2
08/08/2013 (10:43 am)
You also have to add a line of script to your game project that will immediately halt and wait for a connection. Torsion automatically does this when you debug from its interface, then removes it after debugging has stopped.
#3
Ok, not really.
Actually, the way Scott and Mich describe works perfectly - and it rocks.
08/08/2013 (1:37 pm)
And you should have a live white chicken prepared for ritual sacrifice....Ok, not really.
Actually, the way Scott and Mich describe works perfectly - and it rocks.
#4
08/09/2013 (1:58 am)
Many thanks guys.
#5
08/09/2013 (6:45 am)
That's interesting to know ... maybe one day I'll bother reading Torsion's manual instead of randomly hammering at buttons! :P
#6
08/09/2013 (10:19 am)
Steve, you've already managed Shakespear with random hammering so I'm eager to see what else it brings!
#7
No problem. Now get back to work, I've got a turn-based tactical football itch that needs scratched. =P
@Steve
I tend to forget it's there myself since Torsion made it easier to launch into debug. Used to be the only way to debug was by using Tribal and connecting to a running game. Last year was the first time I'd used it since those days when I needed to debug something that only happened on a device in script.
08/09/2013 (11:59 am)
@IanNo problem. Now get back to work, I've got a turn-based tactical football itch that needs scratched. =P
@Steve
I tend to forget it's there myself since Torsion made it easier to launch into debug. Used to be the only way to debug was by using Tribal and connecting to a running game. Last year was the first time I'd used it since those days when I needed to debug something that only happened on a device in script.
Associate Scott Burns
GG Alumni