MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / TelnetDebugger

Method TelnetDebugger

Engine/source/console/telnetDebugger.cpp:149–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147}
148
149TelnetDebugger::TelnetDebugger()
150{
151 Con::addConsumer(debuggerConsumer);
152
153 mAcceptPort = -1;
154 mAcceptSocket = NetSocket::INVALID;
155 mDebugSocket = NetSocket::INVALID;
156
157 mState = NotConnected;
158 mCurPos = 0;
159
160 mBreakpoints = NULL;
161 mBreakOnNextStatement = false;
162 mStackPopBreakIndex = -1;
163 mProgramPaused = false;
164 mWaitForClient = false;
165
166 dStrncpy(mDebuggerPassword, "", PasswordMaxLength);
167 dStrncpy(mLineBuffer, "", sizeof(mLineBuffer));
168
169 // Add the version number in a global so that
170 // scripts can detect the presence of the
171 // "enhanced" debugger features.
172 Con::evaluatef( "$dbgVersion = %d;", Version );
173}
174
175TelnetDebugger::Breakpoint **TelnetDebugger::findBreakpoint(StringTableEntry fileName, S32 lineNumber)
176{

Callers

nothing calls this directly

Calls 3

addConsumerFunction · 0.85
dStrncpyFunction · 0.85
evaluatefFunction · 0.85

Tested by

no test coverage detected