| Index: src/d8-debug.cc
|
| diff --git a/src/d8-debug.cc b/src/d8-debug.cc
|
| index a20de43b760c840fcae6a8718cc701c633ed651b..e1d29d98efb812b1d861fb115754c3e084b7c724 100644
|
| --- a/src/d8-debug.cc
|
| +++ b/src/d8-debug.cc
|
| @@ -77,7 +77,7 @@ void HandleDebugEvent(DebugEvent event,
|
|
|
| // Print the event details.
|
| Handle<Object> details =
|
| - Shell::DebugMessageDetails(Handle<String>::Cast(event_json));
|
| + Shell::DebugMessageDetails(isolate, Handle<String>::Cast(event_json));
|
| if (try_catch.HasCaught()) {
|
| Shell::ReportException(isolate, &try_catch);
|
| return;
|
| @@ -114,7 +114,7 @@ void HandleDebugEvent(DebugEvent event,
|
|
|
| // Convert the debugger command to a JSON debugger request.
|
| Handle<Value> request =
|
| - Shell::DebugCommandToJSONRequest(String::New(command));
|
| + Shell::DebugCommandToJSONRequest(isolate, String::New(command));
|
| if (try_catch.HasCaught()) {
|
| Shell::ReportException(isolate, &try_catch);
|
| continue;
|
| @@ -146,7 +146,8 @@ void HandleDebugEvent(DebugEvent event,
|
| Handle<String> response = Handle<String>::Cast(response_val);
|
|
|
| // Convert the debugger response into text details and the running state.
|
| - Handle<Object> response_details = Shell::DebugMessageDetails(response);
|
| + Handle<Object> response_details =
|
| + Shell::DebugMessageDetails(isolate, response);
|
| if (try_catch.HasCaught()) {
|
| Shell::ReportException(isolate, &try_catch);
|
| continue;
|
| @@ -281,7 +282,8 @@ void RemoteDebugger::HandleMessageReceived(char* message) {
|
| // Print the event details.
|
| TryCatch try_catch;
|
| Handle<Object> details =
|
| - Shell::DebugMessageDetails(Handle<String>::Cast(String::New(message)));
|
| + Shell::DebugMessageDetails(isolate_,
|
| + Handle<String>::Cast(String::New(message)));
|
| if (try_catch.HasCaught()) {
|
| Shell::ReportException(isolate_, &try_catch);
|
| PrintPrompt();
|
| @@ -310,7 +312,7 @@ void RemoteDebugger::HandleKeyboardCommand(char* command) {
|
| // Convert the debugger command to a JSON debugger request.
|
| TryCatch try_catch;
|
| Handle<Value> request =
|
| - Shell::DebugCommandToJSONRequest(String::New(command));
|
| + Shell::DebugCommandToJSONRequest(isolate_, String::New(command));
|
| if (try_catch.HasCaught()) {
|
| Shell::ReportException(isolate_, &try_catch);
|
| PrintPrompt();
|
|
|