Index: src/inspector/v8-debugger-agent-impl.cc |
diff --git a/src/inspector/v8-debugger-agent-impl.cc b/src/inspector/v8-debugger-agent-impl.cc |
index 998d3723caeacb1041aaa1248db6a38ecd76f85b..2a7573c8f5db09e53a04d7d2fcbff00405001f33 100644 |
--- a/src/inspector/v8-debugger-agent-impl.cc |
+++ b/src/inspector/v8-debugger-agent-impl.cc |
@@ -458,6 +458,24 @@ bool V8DebuggerAgentImpl::isFunctionBlackboxed(const String16& scriptId, |
std::distance(ranges.begin(), itStartRange) % 2; |
} |
+void V8DebuggerAgentImpl::asyncTaskCreated() { |
+ if (m_scheduledDebuggerStep == StepInto) { |
+ breakProgram(protocol::Debugger::Paused::ReasonEnum::CallbackScheduled, |
+ nullptr); |
+ } |
+} |
+ |
+Response V8DebuggerAgentImpl::stepIntoAsync() { |
+ return m_debugger->stepIntoAsync(); |
+} |
+ |
+void V8DebuggerAgentImpl::asyncTaskStarted() { |
+ schedulePauseOnNextStatement(protocol::Debugger::Paused::ReasonEnum::Other, |
+ nullptr); |
+} |
+ |
+void V8DebuggerAgentImpl::asyncTaskFinished() { cancelPauseOnNextStatement(); } |
+ |
std::unique_ptr<protocol::Debugger::Location> |
V8DebuggerAgentImpl::resolveBreakpoint(const String16& breakpointId, |
const ScriptBreakpoint& breakpoint, |