Torque2D Reference
Loading...
Searching...
No Matches
Classes | Public Member Functions | Static Public Member Functions | List of all members
TelnetDebugger Class Reference

#include <telnetDebugger.h>

Public Member Functions

void disconnect ()
 
bool isConnected () const
 
void process ()
 
void popStackFrame ()
 
void pushStackFrame ()
 
void addAllBreakpoints (CodeBlock *code)
 
void clearCodeBlockPointers (CodeBlock *code)
 
virtual void executionStopped (CodeBlock *code, U32 lineNumber)
 
void send (const char *s)
 
void setDebugParameters (S32 port, const char *password, bool waitForClient)
 
void processConsoleLine (const char *consoleLine)
 

Static Public Member Functions

static void create ()
 
static void destroy ()
 

Detailed Description

Telnet debug service implementation.

This is the C++ side of the built-in Torque debugger.

To use the debugger, use dbgSetParameters(port, password); in the console of the server to enable debugger connections. Then on some other system, start up the app (you don't have to start a game or connect to the server) and exec("common/debugger/debugger.cs"); in the console. Then use the debugger GUI to connect to the server with the right port and password.

See also
http://www.planettribes.com/tribes2/editing.shtml for more thorough discussion.

Member Function Documentation

◆ addAllBreakpoints()

void addAllBreakpoints ( CodeBlock code)

◆ clearCodeBlockPointers()

void clearCodeBlockPointers ( CodeBlock code)

◆ create()

void create ( )
static

◆ destroy()

void destroy ( )
static

◆ disconnect()

void disconnect ( )

◆ executionStopped()

void executionStopped ( CodeBlock code,
U32  lineNumber 
)
virtual

◆ isConnected()

bool isConnected ( ) const
inline

◆ popStackFrame()

void popStackFrame ( )

◆ process()

void process ( )

◆ processConsoleLine()

void processConsoleLine ( const char *  consoleLine)

◆ pushStackFrame()

void pushStackFrame ( )

◆ send()

void send ( const char *  s)

◆ setDebugParameters()

void setDebugParameters ( S32  port,
const char *  password,
bool  waitForClient 
)

The documentation for this class was generated from the following files: