| Index: src/debug/debug-interface.h
|
| diff --git a/src/debug/debug-interface.h b/src/debug/debug-interface.h
|
| index 127ce66caf6247a1090506197048a14c46c78227..5edea5be597f02c96d9c59249d770a3b81fbca2f 100644
|
| --- a/src/debug/debug-interface.h
|
| +++ b/src/debug/debug-interface.h
|
| @@ -86,13 +86,11 @@ void ChangeBreakOnException(Isolate* isolate, ExceptionBreakState state);
|
| enum StepAction {
|
| StepOut = 0, // Step out of the current function.
|
| StepNext = 1, // Step to the next statement in the current function.
|
| - StepIn = 2, // Step into new functions invoked or the next statement
|
| + StepIn = 2 // Step into new functions invoked or the next statement
|
| // in the current function.
|
| - StepFrame = 3 // Step into a new frame or return to previous frame.
|
| };
|
|
|
| void PrepareStep(Isolate* isolate, StepAction action);
|
| -void ClearStepping(Isolate* isolate);
|
|
|
| /**
|
| * Out-of-memory callback function.
|
| @@ -126,6 +124,7 @@ class Script {
|
| bool GetPossibleBreakpoints(const debug::Location& start,
|
| const debug::Location& end,
|
| std::vector<debug::Location>* locations) const;
|
| + void BlackboxStateChanged() const;
|
|
|
| private:
|
| int GetSourcePosition(const debug::Location& location) const;
|
| @@ -165,6 +164,15 @@ class DebugEventListener {
|
|
|
| void SetDebugEventListener(Isolate* isolate, DebugEventListener* listener);
|
|
|
| +typedef std::function<bool(v8::Local<debug::Script> script,
|
| + const debug::Location& start,
|
| + const debug::Location& end, void* data)>
|
| + IsBlackboxedCallback;
|
| +void SetIsBlackboxedCallback(Isolate* isolate, IsBlackboxedCallback callback,
|
| + void* data);
|
| +
|
| +bool HasUserFrameOnStack(Isolate* isolate);
|
| +
|
| } // namespace debug
|
| } // namespace v8
|
|
|
|
|