| 219 | } |
| 220 | |
| 221 | void TelnetDebugger::disconnect() |
| 222 | { |
| 223 | if ( mDebugSocket != NetSocket::INVALID ) |
| 224 | { |
| 225 | Net::closeSocket(mDebugSocket); |
| 226 | mDebugSocket = NetSocket::INVALID; |
| 227 | } |
| 228 | |
| 229 | removeAllBreakpoints(); |
| 230 | |
| 231 | mState = NotConnected; |
| 232 | mProgramPaused = false; |
| 233 | } |
| 234 | |
| 235 | void TelnetDebugger::setDebugParameters(S32 port, const char *password, bool waitForClient) |
| 236 | { |