Game Development Community

Setting up debugging with TGB and Torsion

by Minty Hunter · in Torsion · 02/25/2007 (11:48 pm) · 2 replies

I've spent many years coding in Director and Flash, but I'm not used to the kind of debugger that Torsion and TGB uses, so I'm struggling to get it working!

Rather than sit here feeling thicker than a whale omelette, I was wondering if someone could help with setup advice.

I've opened the Fish example project in TGB and made a build (because it seems you need an exe to specify in the Torsion project config).

I head back to Torsion, set up a project with the Fish directory as the base directory. All the scripts appear for me to check. I add a breakpoint to main.cs and choose 'Debug/Start'. The connecting dialogue box comes up. I'm using 127.0.0.1 and the password I use when I log in as Admin. After a few secs, the dialogue disappears and ZoneAlarm reports that 'fishtest.exe is asking to act as a server' and I okay that.

Nothing happens.

Any tips for what I'm doing wrong?

(I tried my computer's IP rather than 127.0.0.1, but that just stops the connect dialogue from disappearing).

#1
02/26/2007 (6:00 am)
If i understand you correctly your using the 'games\ExampleMyFishDemo' folder as the base directory in Torsion. You should be using the 'games' directory as the base directory. What your doing now is causing Torsion execute the TGB exe with the 'games\ExampleMyFishDemo\main.cs' instead of 'games\main.cs'.
#2
02/26/2007 (10:15 am)
@Tom: That's it! I'm in and breakin' and watching variables and feeling good about having more than 'echo' to help me out :)

Many thanks. Looks like I'll be ponying up some bickies for the Sickhead crew...