Anyone using Torsion?
by Cooper Sellers · in Torque Game Builder · 01/26/2006 (2:00 pm) · 12 replies
I just found this little jewel and it appears to have lots of potential, but I haven't quite got it working yet. I can step into the root main.cs file, but it seems to hang or get lost when I step past process args call. It appears to still be running, but nothing is happening.
Any pointers?
Any pointers?
About the author
#2
01/26/2006 (3:38 pm)
From an editor point of view it works great. I'm more interested in the script debugging pov.
#3
Like Melv I also use Codeweaver. Both have good debugging capabilities for torquescript.
Alex
01/26/2006 (3:58 pm)
Cooper, I think that Torsion inserts a dbgSetParameters() code into your main.cs on the fly and in some cases throws off the line numbers and messes up debugging that file. Try setting some breakpoints in another .cs file and see if that works any better.Like Melv I also use Codeweaver. Both have good debugging capabilities for torquescript.
Alex
#5
@Cooper - Are you using the new T2D alpha? It's been reported that there are issues there. I'm investigating now.
01/26/2006 (5:16 pm)
@Alex - Actually in the last Torsion release i reworked our "One Click" debugging feature. It is extremely robust and ensures that your breakpoints are correct.@Cooper - Are you using the new T2D alpha? It's been reported that there are issues there. I'm investigating now.
#6
I was unaware that there were really any debugging options available before stumbling upon Torsion earlier, heh.
01/26/2006 (5:36 pm)
Yeah, I'm using the newest version. I was unaware that there were really any debugging options available before stumbling upon Torsion earlier, heh.
#9
03/21/2006 (4:49 pm)
Still broken. T2D starts but stays inexistant in the background (in debug as in non debug start). Process manager needed to get rid of it again.
#10
C:\Projects\TGB\games
And not...
C:\Projects\TGB\games\spacescroller
This seems to be a very common mistake people make.
03/21/2006 (7:50 pm)
@Marc - Make sure your not setting your base directory to be a mod folder. Assuming the new TGB directory structure, your base folder should be this....C:\Projects\TGB\games
And not...
C:\Projects\TGB\games\spacescroller
This seems to be a very common mistake people make.
#11
Although I don't understand why. As you set the T2D path on its own, there shouldn't be a problem unless torsion is incapable of changing the actual working directory to tgb/ from tgb/projectx which then would be torsions error ...
03/22/2006 (12:38 am)
Hmm ok, so was it mine :-)Although I don't understand why. As you set the T2D path on its own, there shouldn't be a problem unless torsion is incapable of changing the actual working directory to tgb/ from tgb/projectx which then would be torsions error ...
#12
03/22/2006 (7:46 am)
The issue is that root main.cs does important stuff that must happen for the mod to run. Now if you modified your mod's main.cs so that it will run that way, then Torsion shouldn't care as you say.
Employee Melv May
I personally don't use it, I use netMercs Codeweaver but both are great editors.
- Melv.