| Index: src/api.cc
|
| diff --git a/src/api.cc b/src/api.cc
|
| index d2cb15143ff382f1ce81e3690e740b52231e4853..2ef82dcb73bc184c5adeb20247de0d3ac9a45077 100644
|
| --- a/src/api.cc
|
| +++ b/src/api.cc
|
| @@ -8896,6 +8896,24 @@
|
| }
|
|
|
|
|
| +void Debug::SetMessageHandler(Isolate* isolate,
|
| + v8::Debug::MessageHandler handler) {
|
| + i::Isolate* i_isolate = reinterpret_cast<i::Isolate*>(isolate);
|
| + ENTER_V8(i_isolate);
|
| + i_isolate->debug()->SetMessageHandler(handler);
|
| +}
|
| +
|
| +
|
| +void Debug::SendCommand(Isolate* isolate,
|
| + const uint16_t* command,
|
| + int length,
|
| + ClientData* client_data) {
|
| + i::Isolate* internal_isolate = reinterpret_cast<i::Isolate*>(isolate);
|
| + internal_isolate->debug()->EnqueueCommandMessage(
|
| + i::Vector<const uint16_t>(command, length), client_data);
|
| +}
|
| +
|
| +
|
| MaybeLocal<Value> Debug::Call(Local<Context> context,
|
| v8::Local<v8::Function> fun,
|
| v8::Local<v8::Value> data) {
|
| @@ -8933,6 +8951,10 @@
|
| .ToLocal(&result);
|
| RETURN_ON_FAILED_EXECUTION(Value);
|
| RETURN_ESCAPED(result);
|
| +}
|
| +
|
| +void Debug::ProcessDebugMessages(Isolate* isolate) {
|
| + reinterpret_cast<i::Isolate*>(isolate)->debug()->ProcessDebugMessages(true);
|
| }
|
|
|
|
|
|
|