Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 4dab54b78bcd28e7c0283cc90b6cf3d184ce82aa..c984919022426c7b0f063c4a43ca411ebeeef22d 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -9039,6 +9039,14 @@ void debug::PrepareStep(Isolate* v8_isolate, StepAction action) { |
isolate->debug()->PrepareStep(static_cast<i::StepAction>(action)); |
} |
+void debug::ClearStepping(Isolate* v8_isolate) { |
+ i::Isolate* isolate = reinterpret_cast<i::Isolate*>(v8_isolate); |
+ ENTER_V8(isolate); |
+ CHECK(isolate->debug()->CheckExecutionState()); |
+ // Clear all current stepping setup. |
+ isolate->debug()->ClearStepping(); |
+} |
+ |
bool debug::HasNonBlackboxedFrameOnStack(Isolate* v8_isolate) { |
i::Isolate* isolate = reinterpret_cast<i::Isolate*>(v8_isolate); |
ENTER_V8(isolate); |