| Index: src/api.cc
|
| diff --git a/src/api.cc b/src/api.cc
|
| index a359d48a8eb9fd197ee2dc495d0c5da1219c1b09..b0ccb708068eddab0d246b5b4d7027c8b7329fce 100644
|
| --- a/src/api.cc
|
| +++ b/src/api.cc
|
| @@ -9106,6 +9106,12 @@ void debug::ClearStepping(Isolate* v8_isolate) {
|
| isolate->debug()->ClearStepping();
|
| }
|
|
|
| +void debug::BreakRightNow(Isolate* v8_isolate) {
|
| + i::Isolate* isolate = reinterpret_cast<i::Isolate*>(v8_isolate);
|
| + ENTER_V8(isolate);
|
| + isolate->debug()->HandleDebugBreak(i::kIgnoreIfAllFramesBlackboxed);
|
| +}
|
| +
|
| bool debug::AllFramesOnStackAreBlackboxed(Isolate* v8_isolate) {
|
| i::Isolate* isolate = reinterpret_cast<i::Isolate*>(v8_isolate);
|
| ENTER_V8(isolate);
|
|
|