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 01c7909bb8f49a7e7ca5eab6eba660723ca14d7c..edf996704def6961d322d978a1aa8a7653766b36 100644 |
--- a/src/inspector/v8-debugger-agent-impl.h |
+++ b/src/inspector/v8-debugger-agent-impl.h |
@@ -109,7 +109,7 @@ class V8DebuggerAgentImpl : public protocol::Debugger::Backend { |
std::unique_ptr<protocol::Array<protocol::Debugger::ScriptPosition>> |
positions) override; |
- bool enabled(); |
+ bool enabled() const { return m_enabled; } |
void setBreakpointAt(const String16& scriptId, int lineNumber, |
int columnNumber, BreakpointSource, |
@@ -137,7 +137,7 @@ class V8DebuggerAgentImpl : public protocol::Debugger::Backend { |
const v8::debug::Location& start, |
const v8::debug::Location& end); |
- bool skipAllPauses() const { return m_skipAllPauses; } |
+ bool acceptsPause(bool isOOMBreak) const; |
v8::Isolate* isolate() { return m_isolate; } |
@@ -194,6 +194,7 @@ class V8DebuggerAgentImpl : public protocol::Debugger::Backend { |
void popBreakDetails(); |
bool m_skipAllPauses = false; |
+ bool m_breakpointsActive = false; |
std::unique_ptr<V8Regex> m_blackboxPattern; |
protocol::HashMap<String16, std::vector<std::pair<int, int>>> |