| Index: src/isolate.cc
|
| diff --git a/src/isolate.cc b/src/isolate.cc
|
| index a1fc062a81a4d3899abf304bcfc8c1be3949e27f..acba6fb9a518338bf08e887217e9061f39111896 100644
|
| --- a/src/isolate.cc
|
| +++ b/src/isolate.cc
|
| @@ -1026,7 +1026,7 @@ void Isolate::DoThrow(Object* exception, MessageLocation* location) {
|
|
|
| // Notify debugger of exception.
|
| if (catchable_by_javascript) {
|
| - debug()->OnException(exception_handle, report_exception);
|
| + debug()->OnThrow(exception_handle, report_exception);
|
| }
|
|
|
| // Generate the message if required.
|
|
|