Game Development Community

how to use Torsion to debug

by FrankLuna · in Game Design and Creative Issues · 06/12/2011 (9:27 pm) · 10 replies

Ok everybody I download Torsion,it seems like a powefull tool,it can debug,but when I look his documentation,it seem like must create a project only to debug.does some one have some method,don't
Create a Project just to debug .cs file.

#1
06/13/2011 (6:59 am)
if you don't own a torque license then you don't have access to source code to compile a debug build.
#2
06/13/2011 (10:23 am)
but I want to debug a project a new project,I follow the instruct on the documentation,I start pre compile the project,but unfortunately
when pre-compile the project have so much error,did you that is what
kind of problem that cause me can not debug it?
#3
06/13/2011 (8:53 pm)
why does no one answer me?
#4
06/14/2011 (12:28 am)
Greg: Torsion allows you to debug scripts (and so does TorqueDev), which you usually don't need a licence to access.

Frank: I haven't debugged script with Torsion, just TorqueDev, but I'm fairly sure you'll need a project to debug. If there are errors in scripts the debug may or may not work - standard Torque practise is that when scripts have an error, the last working .dso is used, so you might debug old script.
#5
06/14/2011 (3:34 am)
I check there is no error in my log file,and the programm can run without Torsion,but why when I use Torsion this programm will can not run?
#6
06/14/2011 (7:53 am)
but why does no one can answer my question.
#7
06/14/2011 (9:36 am)
Frank, I know it can be very exasperating waiting for a reply when you are stuck on a problem, but patience is required. Eventually someone will come by to help.
First, if you are using any recent version of Windows, make sure you have set Torsion to run as admin.
Second, check out the following links, they may help you figure out your problem.

www.garagegames.com/community/forums/viewthread/69366
docs.garagegames.com/torque-3d/official/content/documentation/Scripting/Simple/E... - Helpful for calling to the log where you are in the code
userfs.cec.wustl.edu/~cse450/lectures/Debugging%20Torque.pdf helpful paper on debugging torque


I would also suggest using google to search through garage games' website.
#8
06/14/2011 (9:37 am)
@FrankLuna - I have sent you an e-mail to your yahoo address. Please read it NOW.
#9
06/14/2011 (10:48 am)
Hi David,thanks for you try to help me slove the problem,but sorry that can not be help me,because thease documentation and the theread you give to me just list some Technique about use other tool connect Torsion to debug,so there is nothing help me .I just want to use Torsion debug my code I need succesful pass the pre compile step.please
according my scenario give me more help !thanks David.
#10
06/15/2011 (11:51 am)
No need to reply to this thread any further to reach Frank. He has been banned.