| Index: src/d8-debug.cc
|
| diff --git a/src/d8-debug.cc b/src/d8-debug.cc
|
| index 1cbc0b39a018db7495aa8763d10853bffe5e9695..56f11a732137792a2aef8dc3706631c5f318cc8b 100644
|
| --- a/src/d8-debug.cc
|
| +++ b/src/d8-debug.cc
|
| @@ -159,8 +159,8 @@ void HandleDebugEvent(DebugEvent event,
|
| }
|
|
|
|
|
| -void RunRemoteDebugger(int port) {
|
| - RemoteDebugger debugger(port);
|
| +void RunRemoteDebugger(int port, Handle<Context> context) {
|
| + RemoteDebugger debugger(port, context);
|
| debugger.Run();
|
| }
|
|
|
| @@ -274,6 +274,7 @@ RemoteDebuggerEvent* RemoteDebugger::GetEvent() {
|
|
|
| void RemoteDebugger::HandleMessageReceived(char* message) {
|
| Locker lock;
|
| + Context::Scope cscope(context_);
|
| HandleScope scope;
|
|
|
| // Print the event details.
|
| @@ -303,6 +304,7 @@ void RemoteDebugger::HandleMessageReceived(char* message) {
|
|
|
| void RemoteDebugger::HandleKeyboardCommand(char* command) {
|
| Locker lock;
|
| + Context::Scope cscope(context_);
|
| HandleScope scope;
|
|
|
| // Convert the debugger command to a JSON debugger request.
|
|
|