Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index 22e80b33e0bbe253cd3b563619550cdf4c1920f9..b489fc110a0425aa9122155db1d0dbf7e0533092 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -9048,6 +9048,17 @@ static Object* Runtime_GetThreadDetails(Arguments args) { |
} |
+// Sets the disable break state |
+// args[0]: disable break state |
+static Object* Runtime_SetDisableBreak(Arguments args) { |
+ HandleScope scope; |
+ ASSERT(args.length() == 1); |
+ CONVERT_BOOLEAN_CHECKED(disable_break, args[0]); |
+ Debug::set_disable_break(disable_break); |
+ return Heap::undefined_value(); |
+} |
+ |
+ |
static Object* Runtime_GetBreakLocations(Arguments args) { |
HandleScope scope; |
ASSERT(args.length() == 1); |