MCPcopy Create free account
hub / github.com/CytopiaTeam/Cytopia / TakeCommands

Method TakeCommands

external/as_add_on/debugger/debugger.cpp:301–313  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

299}
300
301void 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
315bool CDebugger::InterpretCommand(const string &cmd, asIScriptContext *ctx)
316{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected