Index: src/d8-debug.cc |
diff --git a/src/d8-debug.cc b/src/d8-debug.cc |
index 70324151817edd7e9efccd921540be92b37f57b3..a356bd4b4e36cd80976b8d77e25774784c159f55 100644 |
--- a/src/d8-debug.cc |
+++ b/src/d8-debug.cc |
@@ -25,7 +25,7 @@ void HandleDebugEvent(const Debug::EventDetails& event_details) { |
return; |
} |
- TryCatch try_catch; |
+ TryCatch try_catch(isolate); |
// Get the toJSONProtocol function on the event and get the JSON format. |
Local<String> to_json_fun_name = |
@@ -76,7 +76,7 @@ void HandleDebugEvent(const Debug::EventDetails& event_details) { |
// Ignore empty commands. |
if (strlen(command) == 0) continue; |
- TryCatch try_catch; |
+ TryCatch try_catch(isolate); |
// Convert the debugger command to a JSON debugger request. |
Handle<Value> request = Shell::DebugCommandToJSONRequest( |