Index: src/parser.cc |
diff --git a/src/parser.cc b/src/parser.cc |
index dd91b1a45e47100feb0b9c3d9d19001b5b5eb812..58f087e0dd324c772eef5642fbb04c775d4c222b 100644 |
--- a/src/parser.cc |
+++ b/src/parser.cc |
@@ -3888,6 +3888,8 @@ void Parser::ThrowPendingError() { |
.ToHandleChecked(); |
elements->set(0, *arg_string); |
} |
+ isolate()->debug()->OnCompileError(script_); |
+ |
Handle<JSArray> array = factory->NewJSArrayWithElements(elements); |
Handle<Object> result = pending_error_is_reference_error_ |
? factory->NewReferenceError(pending_error_message_, array) |