| 300 | } |
| 301 | |
| 302 | void CDebugger::TakeCommands(asIScriptContext *ctx) |
| 303 | { |
| 304 | for(;;) |
| 305 | { |
| 306 | char buf[512]; |
| 307 | |
| 308 | Output("[dbg]> "); |
| 309 | cin.getline(buf, 512); |
| 310 | |
| 311 | if( InterpretCommand(string(buf), ctx) ) |
| 312 | break; |
| 313 | } |
| 314 | } |
| 315 | |
| 316 | bool CDebugger::InterpretCommand(const string &cmd, asIScriptContext *ctx) |
| 317 | { |
no outgoing calls
no test coverage detected