Game Development Community

Telnet debug

by Howard Dortch · in Torque Game Engine · 08/04/2007 (4:46 am) · 5 replies

I need to add a couple things to the telnet debugger but can't get things to work.

Here is the command I use in script
telnetsetparameters(20000,"guest","",false);

I start a telnet and enter the host, port then password and get a %prompt, all is well


I set a MSVC breakpoint in the engine code at
void TelnetDebugger::processLineBuffer(S32 cmdLen)

No matter what I type on the command this function never hits the breakpoint.

FILELIST, filelist etc from telnet command line (tried all the other commands as well)
processLineBuffer is never called.

Help?

#1
08/04/2007 (6:28 am)
Dude you should buy Torsion and forget about telnet debugging. :)
#2
08/04/2007 (6:59 am)
I own Torsion.

This is a special project that requires telnet. I wont be using the debug I want to add my own funcitons in there to access an embedded emulator.

Input from the telnet should hit the telnet console (and it does) I'm looking for the part that decodes the input, as in BRK (address). I will add my own functions there but need to find where "there" is.
#3
08/04/2007 (12:29 pm)
Torsion uses telnet debugging , it is the only way for scripts debugging

FYI : www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=11602
#4
08/04/2007 (1:01 pm)
Ok I'll try to explain this again.

I need to telnet into the running program, I will NOT be debugging anything.
The client on the telnet will issue a command the code in the engine will receive the command and perform an action I program in.

More clear?
#5
08/04/2007 (1:33 pm)
The telnet command are located into : .../engine/console/telnetDebugger.cc