Index: test/cctest/test-debug.cc |
diff --git a/test/cctest/test-debug.cc b/test/cctest/test-debug.cc |
index 8ad082c259ad4241eed8b1f985519e6165f3d9e6..a1a9471e986b61281409010c182fcf5af730af6b 100644 |
--- a/test/cctest/test-debug.cc |
+++ b/test/cctest/test-debug.cc |
@@ -345,9 +345,6 @@ |
v8::internal::Debug* debug = CcTest::i_isolate()->debug(); |
debug->PrepareStep(step_action, 1, StackFrame::NO_ID); |
} |
- |
- |
-static void ClearStepping() { CcTest::i_isolate()->debug()->ClearStepping(); } |
// This function is in namespace v8::internal to be friend with class |
@@ -3841,7 +3838,7 @@ |
break_point_hit_count = 0; |
foo->Call(context, env->Global(), 0, NULL).ToLocalChecked(); |
- CHECK_EQ(6, break_point_hit_count); |
+ CHECK_EQ(5, break_point_hit_count); |
v8::Debug::SetDebugEventListener(NULL); |
CheckDebuggerUnloaded(); |
@@ -4214,7 +4211,6 @@ |
"function h() { x = 1; throw 1; }; "; |
// Step through invocation of a. |
- ClearStepping(); |
v8::Local<v8::Function> a = CompileFunction(&env, src, "a"); |
SetBreakPoint(a, 0); |
step_action = StepIn; |
@@ -4225,7 +4221,6 @@ |
break_point_hit_count); |
// Step through invocation of b + c. |
- ClearStepping(); |
v8::Local<v8::Function> b = CompileFunction(&env, src, "b"); |
SetBreakPoint(b, 0); |
step_action = StepIn; |
@@ -4234,9 +4229,7 @@ |
CHECK(b->Call(context, env->Global(), 0, NULL).IsEmpty()); |
CHECK_EQ(StrLength(expected_step_sequence), |
break_point_hit_count); |
- |
// Step through invocation of d + e. |
- ClearStepping(); |
v8::Local<v8::Function> d = CompileFunction(&env, src, "d"); |
SetBreakPoint(d, 0); |
ChangeBreakOnException(false, true); |
@@ -4257,7 +4250,6 @@ |
break_point_hit_count); |
// Step through invocation of f + g + h. |
- ClearStepping(); |
v8::Local<v8::Function> f = CompileFunction(&env, src, "f"); |
SetBreakPoint(f, 0); |
ChangeBreakOnException(false, true); |