Can't get Torsion to debug
by Andy Hawkins · in Torque Game Builder · 09/10/2008 (6:26 am) · 4 replies
I have TGB.exe sitting outside my game project folder.
When I run the exe it works fine, but I can't get Torsion to run - it just locks up. Where is everything supposed to be so I can debug instead of having to set echo statements to debug it?
Folder structure...

Project Settings in Torsion

Configuration Settings in Torsion

When I run the exe it works fine, but I can't get Torsion to run - it just locks up. Where is everything supposed to be so I can debug instead of having to set echo statements to debug it?
Folder structure...

Project Settings in Torsion

Configuration Settings in Torsion

#2
Compiling managed/brushes.cs...
TGB.exe is running in memory but nothing happens.
09/11/2008 (7:09 am)
I just tried that then and I get this far in the log...Compiling managed/brushes.cs...
TGB.exe is running in memory but nothing happens.
#3
When you launch from torsion it inserts the dbgSetParameters line at the top of your main.cs, the last argument (true) in that command means wait for a connection from the telenet debugger.
Check that your password and port numbers match up. Also you can try changing the last dbgSetParameter argument to false, and see if that results in your game starting up normally (although still perhaps not debugging with torsion).
09/11/2008 (1:23 pm)
If it is running in memory but not doing anything, most likely it is waiting for Torsion to connect to it and for some reason Torsion is unable to.When you launch from torsion it inserts the dbgSetParameters line at the top of your main.cs, the last argument (true) in that command means wait for a connection from the telenet debugger.
Check that your password and port numbers match up. Also you can try changing the last dbgSetParameter argument to false, and see if that results in your game starting up normally (although still perhaps not debugging with torsion).
#4
I was creating the Torsion project in the actual game folder. When I created a new project one folder up where the exe was it worked properly.
09/11/2008 (4:51 pm)
I fixed it! Thanks for the feedback.I was creating the Torsion project in the actual game folder. When I created a new project one folder up where the exe was it worked properly.
Associate James Ford
Sickhead Games