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..c021f3b8d4b4918d5f286cecf3ba2f5a6924abe2 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,13 +30,7 @@ using protocol::Response; |
class V8DebuggerAgentImpl : public protocol::Debugger::Backend { |
public: |
- enum SkipPauseRequest { |
- RequestNoSkip, |
- RequestContinue, |
- RequestStepInto, |
- RequestStepOut, |
- RequestStepFrame |
- }; |
+ enum SkipPauseRequest { RequestNoSkip, RequestContinue }; |
dgozman
2017/01/24 00:12:08
Remove.
kozy
2017/01/24 01:11:52
Done.
|
enum BreakpointSource { |
UserBreakpointSource, |
@@ -134,24 +129,22 @@ 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 isBlackboxed(const String16& scriptId, const v8::debug::Location& start, |
dgozman
2017/01/24 00:12:08
isFunctionBlackboxed
kozy
2017/01/24 01:11:52
Done.
|
+ 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 +160,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 +192,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; |