| Index: src/api.cc
|
| diff --git a/src/api.cc b/src/api.cc
|
| index c0989d1d112f70be6e4c7c1940a4f235cb9b415c..17a9c986cf8841f0d89755d3cd741ec1f6b5c667 100644
|
| --- a/src/api.cc
|
| +++ b/src/api.cc
|
| @@ -8814,6 +8814,23 @@ void DebugInterface::ChangeBreakOnException(Isolate* isolate,
|
| type != NoBreakOnException);
|
| }
|
|
|
| +void DebugInterface::PrepareStep(Isolate* v8_isolate, StepAction action) {
|
| + i::Isolate* isolate = reinterpret_cast<i::Isolate*>(v8_isolate);
|
| + ENTER_V8(isolate);
|
| + CHECK(isolate->debug()->CheckExecutionState());
|
| + // Clear all current stepping setup.
|
| + isolate->debug()->ClearStepping();
|
| + // Prepare step.
|
| + isolate->debug()->PrepareStep(static_cast<i::StepAction>(action));
|
| +}
|
| +
|
| +void DebugInterface::ClearStepping(Isolate* v8_isolate) {
|
| + i::Isolate* isolate = reinterpret_cast<i::Isolate*>(v8_isolate);
|
| + ENTER_V8(isolate);
|
| + // Clear all current stepping setup.
|
| + isolate->debug()->ClearStepping();
|
| +}
|
| +
|
| Local<String> CpuProfileNode::GetFunctionName() const {
|
| const i::ProfileNode* node = reinterpret_cast<const i::ProfileNode*>(this);
|
| i::Isolate* isolate = node->isolate();
|
|
|