Game Development Community

SOLVED] Remote Debugging in Torsion Help

by Daniel Dewey · in Torsion · 10/11/2008 (2:04 pm) · 4 replies

As the subject states, I would like some help in trying to setup/understand how to do remote debugging in Torsion. I've already done a search and have looked at the help file. From what I understand of the help file, I need to have all of the project files both on the local machine and the remote machine. So I have to have the same project open, with all files, and they have to exactly the same on both machines. What about when I need to make a change, does that mean I now have to make the change twice? Or is there something else I can do that I'm missing?

Thanks

#1
10/12/2008 (10:27 am)
Hi Daniel.

Well first off you don't need to have Torsion on both machines... you just need the Torsion project open on the one machine that will be doing the debugging. The other machine just needs your game.

As far as keeping files in sync... you don't really have to, but its counter productive not to. If the files are different then what you see in the debugger won't match the code the game is running.

Generally one would be using some sort of version control software which could help you keep files in sync across both machines.

Alternatively i've not tried it, but you could either run your game or Torsion from a network directory. So you share the folder with your game install so that the other machine can run from it.
#2
10/12/2008 (11:36 am)
So the best way to set this up would be to run a file share on the host computer, then run Torsion on the remote machine looking at the game scripts in the file share?

Lastly, I wanted to also clear up some stuff. Stepping away from Torsion somewhat, the only way I see a remote setup working is if the following conditions were being met.

a) Game is being run/built on the host computer, but the debugger is being run from the remote (aka: the workstation your using) computer.
b) The debugger would be something like Visual Studios. However, the debugging won't work if your running XP or Vista Home, you must be running XP Pro or Vista (any version higher than Home Basic and Home Premium).
c) That takes care of the C++ debugging (which from my understanding, isn't required for remote Torsion), now for Torsion (using what I've said and read before). Torsion runs on the Remote machine and is pointed to either a network file share, or is looking at the script source files that are being updated with source control (ie: subversion, CVS, etc) between the two computers.

Is this correct, if not, please correct me. I'm trying to make a setup that is like the one described here . (TDN Login is required)

Thanks,
Daniel
#3
10/12/2008 (12:10 pm)
Quote:So the best way to set this up would be to run a file share on the host computer, then run Torsion on the remote machine looking at the game scripts in the file share?
Yes... either have the game run out of a remote directory or have Torsion run out of the remote directory. I can't say i've tried either method... so you'll have to see which works best for you.

Quote:Lastly, I wanted to also clear up some stuff.
That all looks correct to me.
#4
10/12/2008 (12:14 pm)
Thanks allot.