コード例 #1
0
ファイル: cmd_run.cpp プロジェクト: 360buyliulei/hiphop-php
void CmdRun::onClient(DebuggerClient &client) {
  TRACE(2, "CmdRun::onClient\n");
  if (DebuggerCommand::displayedHelp(client)) return;

  m_args = StringVecPtr(client.args(), null_deleter());
  client.sendToServer(this);
  client.clearCachedLocal();
  client.setFrame(0);
  throw DebuggerConsoleExitException();
}
コード例 #2
0
ファイル: cmd_run.cpp プロジェクト: kodypeterson/hiphop-php
void CmdRun::onClientImpl(DebuggerClient &client) {
  if (DebuggerCommand::displayedHelp(client)) return;

  m_args = StringVecPtr(client.args(), null_deleter());
  m_smallStep = client.getDebuggerSmallStep();
  client.sendToServer(this);
  client.clearCachedLocal();
  client.setFrame(0);
  throw DebuggerConsoleExitException();
}
コード例 #3
0
ファイル: cmd_run.cpp プロジェクト: Alienfeel/hhvm
void CmdRun::onClient(DebuggerClient &client) {
  TRACE(2, "CmdRun::onClient\n");
  if (DebuggerCommand::displayedHelp(client)) return;

  m_args = std::shared_ptr<std::vector<std::string>>(client.args(),
    [] (const void*) {});
  client.sendToServer(this);
  client.clearCachedLocal();
  client.setFrame(0);
  throw DebuggerConsoleExitException();
}