int InterpreterDBG::nextCmd(int line, Variables& v, list<pair<string, int> >& stk) {

  sendStackInfo(stk);

  sendVariables(v.getGlobals(), stk, true);
  sendVariables(v.getLocals(), stk, false);

  return receiveCmd();
}