Index: src/inspector/v8-debugger-agent-impl.h |
diff --git a/src/inspector/v8-debugger-agent-impl.h b/src/inspector/v8-debugger-agent-impl.h |
index 15df7efe5a62387894620c2fb9f6f817f7440a61..715b3c3fd78a718cc623ffb1527a3e9aabe437cd 100644 |
--- a/src/inspector/v8-debugger-agent-impl.h |
+++ b/src/inspector/v8-debugger-agent-impl.h |
@@ -8,6 +8,7 @@ |
#include <vector> |
#include "src/base/macros.h" |
+#include "src/debug/interface-types.h" |
#include "src/inspector/java-script-call-frame.h" |
#include "src/inspector/protocol/Debugger.h" |
#include "src/inspector/protocol/Forward.h" |
@@ -29,14 +30,6 @@ using protocol::Response; |
class V8DebuggerAgentImpl : public protocol::Debugger::Backend { |
public: |
- enum SkipPauseRequest { |
- RequestNoSkip, |
- RequestContinue, |
- RequestStepInto, |
- RequestStepOut, |
- RequestStepFrame |
- }; |
- |
enum BreakpointSource { |
UserBreakpointSource, |
DebugCommandBreakpointSource, |
@@ -134,24 +127,23 @@ class V8DebuggerAgentImpl : public protocol::Debugger::Backend { |
void reset(); |
// Interface for V8InspectorImpl |
- SkipPauseRequest didPause(v8::Local<v8::Context>, |
- v8::Local<v8::Value> exception, |
- const std::vector<String16>& hitBreakpoints, |
- bool isPromiseRejection, bool isUncaught, |
- bool isOOMBreak); |
+ bool didPause(v8::Local<v8::Context>, v8::Local<v8::Value> exception, |
+ const std::vector<String16>& hitBreakpoints, |
+ bool isPromiseRejection, bool isUncaught, bool isOOMBreak); |
void didContinue(); |
void didParseSource(std::unique_ptr<V8DebuggerScript>, bool success); |
void willExecuteScript(int scriptId); |
void didExecuteScript(); |
+ bool isFunctionBlackboxed(const String16& scriptId, |
+ const v8::debug::Location& start, |
+ const v8::debug::Location& end); |
+ |
v8::Isolate* isolate() { return m_isolate; } |
private: |
void enableImpl(); |
- SkipPauseRequest shouldSkipExceptionPause(JavaScriptCallFrame* topCallFrame); |
- SkipPauseRequest shouldSkipStepPause(JavaScriptCallFrame* topCallFrame); |
- |
void schedulePauseOnNextStatementIfSteppingInto(); |
Response currentCallFrames( |
@@ -167,14 +159,11 @@ class V8DebuggerAgentImpl : public protocol::Debugger::Backend { |
void removeBreakpointImpl(const String16& breakpointId); |
void clearBreakDetails(); |
- bool isCurrentCallStackEmptyOrBlackboxed(); |
- bool isTopPausedCallFrameBlackboxed(); |
- bool isCallFrameWithUnknownScriptOrBlackboxed(JavaScriptCallFrame*); |
- |
void internalSetAsyncCallStackDepth(int); |
void increaseCachedSkipStackGeneration(); |
Response setBlackboxPattern(const String16& pattern); |
+ void resetBlackboxedStateCache(); |
using ScriptsMap = |
protocol::HashMap<String16, std::unique_ptr<V8DebuggerScript>>; |
@@ -202,14 +191,9 @@ class V8DebuggerAgentImpl : public protocol::Debugger::Backend { |
String16 m_breakReason; |
std::unique_ptr<protocol::DictionaryValue> m_breakAuxData; |
DebuggerStep m_scheduledDebuggerStep; |
- bool m_skipNextDebuggerStepOut; |
bool m_javaScriptPauseScheduled; |
- bool m_steppingFromFramework; |
- bool m_pausingOnNativeEvent; |
- int m_skippedStepFrameCount; |
int m_recursionLevelForStepOut; |
- int m_recursionLevelForStepFrame; |
bool m_skipAllPauses; |
std::unique_ptr<V8Regex> m_blackboxPattern; |