| Index: src/api.cc
|
| diff --git a/src/api.cc b/src/api.cc
|
| index 7f1276dee8e634fb9fafc6ef093596f9fc18e389..a9f39a597d61814f92ddcfdeadbc3e907a799a83 100644
|
| --- a/src/api.cc
|
| +++ b/src/api.cc
|
| @@ -6824,22 +6824,11 @@ void Debug::SendCommand(Isolate* isolate,
|
| int length,
|
| ClientData* client_data) {
|
| i::Isolate* internal_isolate = reinterpret_cast<i::Isolate*>(isolate);
|
| - internal_isolate->debugger()->ProcessCommand(
|
| + internal_isolate->debugger()->EnqueueCommandMessage(
|
| i::Vector<const uint16_t>(command, length), client_data);
|
| }
|
|
|
|
|
| -void Debug::SetDebugMessageDispatchHandler(
|
| - DebugMessageDispatchHandler handler, bool provide_locker) {
|
| - i::Isolate* isolate = i::Isolate::Current();
|
| - EnsureInitializedForIsolate(isolate,
|
| - "v8::Debug::SetDebugMessageDispatchHandler");
|
| - ENTER_V8(isolate);
|
| - isolate->debugger()->SetDebugMessageDispatchHandler(
|
| - handler, provide_locker);
|
| -}
|
| -
|
| -
|
| Local<Value> Debug::Call(v8::Handle<v8::Function> fun,
|
| v8::Handle<v8::Value> data) {
|
| i::Isolate* isolate = i::Isolate::Current();
|
| @@ -6891,17 +6880,6 @@ Local<Value> Debug::GetMirror(v8::Handle<v8::Value> obj) {
|
| }
|
|
|
|
|
| -bool Debug::EnableAgent(const char* name, int port, bool wait_for_connection) {
|
| - return i::Isolate::Current()->debugger()->StartAgent(name, port,
|
| - wait_for_connection);
|
| -}
|
| -
|
| -
|
| -void Debug::DisableAgent() {
|
| - return i::Isolate::Current()->debugger()->StopAgent();
|
| -}
|
| -
|
| -
|
| void Debug::ProcessDebugMessages() {
|
| i::Execution::ProcessDebugMessages(i::Isolate::Current(), true);
|
| }
|
|
|