How to debug TGB script??
by DavidLin · in Torque Game Builder · 07/09/2006 (9:58 am) · 15 replies
Recently, I have bought TGB, and is studing how to make a game by this tool. But I found it is too hard to write a game by script, Is there any easy ways to debug TGB script?
And, I can't decide which way to go. Write C++ code purely? Or write script to make a game??
And, I can't decide which way to go. Write C++ code purely? Or write script to make a game??
#2
07/09/2006 (7:45 pm)
I'm using Torsion for development, but I never been able to setup the debugger to work properly. I looked in their forum, but informations are scarse. I'm sure missing something ...
#3
07/09/2006 (9:28 pm)
@Steve - What problems are you running into? It's pretty much a matter of adding breakpoints and hitting F5.
#4
07/09/2006 (9:47 pm)
What I get is that "connect" windows poping up, then nothing. The Torsion interface keep thinking it's in debug as the menus are greyed out as if in execution, but the game just doesn't start. I made sure to setup the proper executable (T2D_debug.exe) in my "Debug" profile. Still nothing happen...
#5
07/09/2006 (10:01 pm)
Is your firewall software blocking connections? The debugger does use tcp/ip telnet to localhost
#6
07/09/2006 (10:25 pm)
@Steve - Do you have your 'base directory' set to the same folder as the TGB EXE? Sometimes it seems people get confused and set the base directory to the mod folder of their game. This will not work.
#7
My question is, can I debug script expediently like debug c++ with vs.net? Did garagegames publish the debug tool for TGB script ?
In addtion, what is Torsion? ;-)
07/09/2006 (10:54 pm)
Thanks to apply. My question is, can I debug script expediently like debug c++ with vs.net? Did garagegames publish the debug tool for TGB script ?
In addtion, what is Torsion? ;-)
#9
07/09/2006 (11:24 pm)
Thanks, I downloaded the Torsion and installed it. After I constructed a Torsion project, and I pressed F5 to start, the debugger pops up a dialog"connecting", and the "connect" button is grey. Is there any config error happens??
#10
07/09/2006 (11:28 pm)
In addition ,I have shut down my firewall, and made the right configuration in base directory..
#11
07/09/2006 (11:31 pm)
Just wait for the connection to establish...
#12
07/10/2006 (4:08 pm)
Are you still having issues ? I love and use Torsion :)
#13
07/10/2006 (6:23 pm)
Still nothing happened After the "connecting" windows poped up...
#14
07/13/2006 (10:04 am)
@DavidLin - Do you have your 'base directory' set to the same folder as the TGB EXE? Sometimes it seems people get confused and set the base directory to the mod folder of their game. This will not work.
#15
http://www.torquepowered.com/products/torsion
.. Is there is any free version of this product torsion.. because I am facing some problem in using torque game builder...
If any buddy have any tutorial regarding this then send it to my mail id..
rejected_boy@Live.com'
thnx..
08/30/2010 (4:42 am)
The right link is below::http://www.torquepowered.com/products/torsion
.. Is there is any free version of this product torsion.. because I am facing some problem in using torque game builder...
If any buddy have any tutorial regarding this then send it to my mail id..
rejected_boy@Live.com'
thnx..

Torque Owner Pauliver
http://www.sickheadgames.com/torsion.php