Index: src/runtime/runtime-test.cc |
diff --git a/src/runtime/runtime-test.cc b/src/runtime/runtime-test.cc |
index 67c68b7f4c148f7cb608e2cfe25765e453c669d2..095d97fb751ec7ee342fca5757cb49e9672fd943 100644 |
--- a/src/runtime/runtime-test.cc |
+++ b/src/runtime/runtime-test.cc |
@@ -247,7 +247,9 @@ RUNTIME_FUNCTION(Runtime_GlobalPrint) { |
RUNTIME_FUNCTION(Runtime_SystemBreak) { |
- SealHandleScope shs(isolate); |
+ // The code below doesn't create handles, but when breaking here in GDB |
+ // having a handle scope might be useful. |
+ HandleScope scope(isolate); |
DCHECK(args.length() == 0); |
base::OS::DebugBreak(); |
return isolate->heap()->undefined_value(); |