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..5c5251a80f85b93b4cd3fbac80d0f1fd237c7aae 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 }; |
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, |
dgozman
2017/01/19 21:49:14
shouldPause
kozy
2017/01/20 02:32:37
but I think main purpose of this method: send noti
|
+ 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, |
+ 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,10 +160,6 @@ 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(); |
@@ -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; |