diff options
Diffstat (limited to 'deps/v8/src/inspector/v8-debugger-agent-impl.h')
-rw-r--r-- | deps/v8/src/inspector/v8-debugger-agent-impl.h | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/deps/v8/src/inspector/v8-debugger-agent-impl.h b/deps/v8/src/inspector/v8-debugger-agent-impl.h index 306e5fb48c..e697b700e9 100644 --- a/deps/v8/src/inspector/v8-debugger-agent-impl.h +++ b/deps/v8/src/inspector/v8-debugger-agent-impl.h @@ -39,7 +39,7 @@ class V8DebuggerAgentImpl : public protocol::Debugger::Backend { void restore(); // Part of the protocol. - Response enable() override; + Response enable(String16* outDebuggerId) override; Response disable() override; Response setBreakpointsActive(bool active) override; Response setSkipAllPauses(bool skip) override; @@ -57,6 +57,9 @@ class V8DebuggerAgentImpl : public protocol::Debugger::Backend { Response removeBreakpoint(const String16& breakpointId) override; Response continueToLocation(std::unique_ptr<protocol::Debugger::Location>, Maybe<String16> targetCallFrames) override; + Response getStackTrace( + std::unique_ptr<protocol::Runtime::StackTraceId> inStackTraceId, + std::unique_ptr<protocol::Runtime::StackTrace>* outStackTrace) override; Response searchInContent( const String16& scriptId, const String16& query, Maybe<bool> optionalCaseSensitive, Maybe<bool> optionalIsRegex, @@ -73,21 +76,25 @@ class V8DebuggerAgentImpl : public protocol::Debugger::Backend { Maybe<protocol::Array<protocol::Debugger::CallFrame>>* optOutCallFrames, Maybe<bool>* optOutStackChanged, Maybe<protocol::Runtime::StackTrace>* optOutAsyncStackTrace, + Maybe<protocol::Runtime::StackTraceId>* optOutAsyncStackTraceId, Maybe<protocol::Runtime::ExceptionDetails>* optOutCompileError) override; Response restartFrame( const String16& callFrameId, std::unique_ptr<protocol::Array<protocol::Debugger::CallFrame>>* newCallFrames, - Maybe<protocol::Runtime::StackTrace>* asyncStackTrace) override; + Maybe<protocol::Runtime::StackTrace>* asyncStackTrace, + Maybe<protocol::Runtime::StackTraceId>* asyncStackTraceId) override; Response getScriptSource(const String16& scriptId, String16* scriptSource) override; Response pause() override; Response resume() override; Response stepOver() override; - Response stepInto() override; + Response stepInto(Maybe<bool> inBreakOnAsyncCall) override; Response stepOut() override; void scheduleStepIntoAsync( std::unique_ptr<ScheduleStepIntoAsyncCallback> callback) override; + Response pauseOnAsyncCall(std::unique_ptr<protocol::Runtime::StackTraceId> + inParentStackTraceId) override; Response setPauseOnExceptions(const String16& pauseState) override; Response evaluateOnCallFrame( const String16& callFrameId, const String16& expression, @@ -100,6 +107,8 @@ class V8DebuggerAgentImpl : public protocol::Debugger::Backend { int scopeNumber, const String16& variableName, std::unique_ptr<protocol::Runtime::CallArgument> newValue, const String16& callFrame) override; + Response setReturnValue( + std::unique_ptr<protocol::Runtime::CallArgument> newValue) override; Response setAsyncCallStackDepth(int depth) override; Response setBlackboxPatterns( std::unique_ptr<protocol::Array<String16>> patterns) override; @@ -146,6 +155,7 @@ class V8DebuggerAgentImpl : public protocol::Debugger::Backend { Response currentCallFrames( std::unique_ptr<protocol::Array<protocol::Debugger::CallFrame>>*); std::unique_ptr<protocol::Runtime::StackTrace> currentAsyncStackTrace(); + std::unique_ptr<protocol::Runtime::StackTraceId> currentExternalStackTrace(); void setPauseOnExceptionsImpl(int); |