MCPcopy Create free account
hub / github.com/anjo76/angelscript / TakeCommands

Method TakeCommands

sdk/add_on/debugger/debugger.cpp:302–314  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

InitializeDebuggerFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected