Torque2D 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 () |
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.
void addAllBreakpoints | ( | CodeBlock * | code | ) |
void clearCodeBlockPointers | ( | CodeBlock * | code | ) |
|
static |
|
static |
void disconnect | ( | ) |
|
virtual |
|
inline |
void popStackFrame | ( | ) |
void process | ( | ) |
void processConsoleLine | ( | const char * | consoleLine | ) |
void pushStackFrame | ( | ) |
void send | ( | const char * | s | ) |
void setDebugParameters | ( | S32 | port, |
const char * | password, | ||
bool | waitForClient | ||
) |