| Index: src/runtime/runtime-debug.cc
|
| diff --git a/src/runtime/runtime-debug.cc b/src/runtime/runtime-debug.cc
|
| index 9899ac6c0a58e69b7156af377ccf4857dee5359b..575ad67286541d0708b75fa48171a4fb93179c28 100644
|
| --- a/src/runtime/runtime-debug.cc
|
| +++ b/src/runtime/runtime-debug.cc
|
| @@ -2329,6 +2329,7 @@ RUNTIME_FUNCTION(Runtime_DebugGetLoadedScripts) {
|
| HandleScope scope(isolate);
|
| DCHECK(args.length() == 0);
|
|
|
| + DebugScope debug_scope(isolate->debug());
|
| // Fill the script objects.
|
| Handle<FixedArray> instances = isolate->debug()->GetLoadedScripts();
|
|
|
|
|