| Index: src/api.cc
|
| diff --git a/src/api.cc b/src/api.cc
|
| index 7644eda57988d3f2890780a0c27b6bdbea4a8ae5..c769a09e6c2a816b0f92329aeda51d4aa780e4ce 100644
|
| --- a/src/api.cc
|
| +++ b/src/api.cc
|
| @@ -8683,6 +8683,14 @@ void Debug::SetTailCallEliminationEnabled(Isolate* isolate, bool enabled) {
|
| internal_isolate->SetTailCallEliminationEnabled(enabled);
|
| }
|
|
|
| +void Debug::ChangeBreakOnException(Isolate* isolate, ExceptionBreakState type) {
|
| + i::Isolate* internal_isolate = reinterpret_cast<i::Isolate*>(isolate);
|
| + internal_isolate->debug()->ChangeBreakOnException(
|
| + i::BreakException, type == BreakOnAnyException);
|
| + internal_isolate->debug()->ChangeBreakOnException(i::BreakUncaughtException,
|
| + type != NoBreakOnException);
|
| +}
|
| +
|
| MaybeLocal<Array> Debug::GetInternalProperties(Isolate* v8_isolate,
|
| Local<Value> value) {
|
| i::Isolate* isolate = reinterpret_cast<i::Isolate*>(v8_isolate);
|
|
|