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