| Index: src/isolate.cc
|
| diff --git a/src/isolate.cc b/src/isolate.cc
|
| index 72df9b4b2b131794190e025049fe65f4e8e51362..b3a20785f6776c927dc9da8cb8dcf4b4aecb847a 100644
|
| --- a/src/isolate.cc
|
| +++ b/src/isolate.cc
|
| @@ -1031,7 +1031,8 @@ void Isolate::DoThrow(Object* exception, MessageLocation* location) {
|
|
|
| // Notify debugger of exception.
|
| if (catchable_by_javascript) {
|
| - debugger_->OnException(exception_handle, report_exception);
|
| + debugger_->OnException(
|
| + exception_handle, report_exception, factory()->undefined_value());
|
| }
|
|
|
| // Generate the message if required.
|
|
|