blob: b68ba1eeeefd683a7db00d49d98d908c76d52816 [file] [log] [blame]
/**
*
*/
package org.eclipse.dltk.rhino.dbgp;
import java.util.HashMap;
final class RunCommand extends DBGPDebugger.Command {
/**
*
*/
private final DBGPDebugger debugger;
/**
* @param debugger
*/
RunCommand(DBGPDebugger debugger) {
this.debugger = debugger;
}
@Override
void parseAndExecute(String command, HashMap options) {
String object = (String) options.get("-i");
this.debugger.runTransctionId = object;
while (!this.debugger.isInited) {
Thread.yield();
}
synchronized (this.debugger) {
this.debugger.notify();
}
this.debugger.stackmanager.resume();
// printResponse("<response command=\"run\"\r\n"
// + "status=\"starting\"" + " reason=\"ok\""
// + " transaction_id=\"" + object + "\">\r\n"
// + "</response>\r\n" + "");
}
}