| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8DebuggerAgent_h | 5 #ifndef V8DebuggerAgent_h |
| 6 #define V8DebuggerAgent_h | 6 #define V8DebuggerAgent_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ScriptState.h" | 8 #include "bindings/core/v8/ScriptState.h" |
| 9 #include "bindings/core/v8/ScriptValue.h" | 9 #include "bindings/core/v8/ScriptValue.h" |
| 10 #include "core/CoreExport.h" | 10 #include "core/CoreExport.h" |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 void flushAsyncOperationEvents(ErrorString*) final; | 125 void flushAsyncOperationEvents(ErrorString*) final; |
| 126 void setAsyncOperationBreakpoint(ErrorString*, int operationId) final; | 126 void setAsyncOperationBreakpoint(ErrorString*, int operationId) final; |
| 127 void removeAsyncOperationBreakpoint(ErrorString*, int operationId) final; | 127 void removeAsyncOperationBreakpoint(ErrorString*, int operationId) final; |
| 128 | 128 |
| 129 void schedulePauseOnNextStatement(InspectorFrontend::Debugger::Reason::Enum
breakReason, PassRefPtr<JSONObject> data); | 129 void schedulePauseOnNextStatement(InspectorFrontend::Debugger::Reason::Enum
breakReason, PassRefPtr<JSONObject> data); |
| 130 void cancelPauseOnNextStatement(); | 130 void cancelPauseOnNextStatement(); |
| 131 bool canBreakProgram(); | 131 bool canBreakProgram(); |
| 132 void breakProgram(InspectorFrontend::Debugger::Reason::Enum breakReason, Pas
sRefPtr<JSONObject> data); | 132 void breakProgram(InspectorFrontend::Debugger::Reason::Enum breakReason, Pas
sRefPtr<JSONObject> data); |
| 133 void willCallFunction(int scriptId); | 133 void willCallFunction(int scriptId); |
| 134 void didCallFunction(); | 134 void didCallFunction(); |
| 135 void willEvaluateScript(); | |
| 136 void didEvaluateScript(); | |
| 137 | 135 |
| 138 bool enabled(); | 136 bool enabled(); |
| 139 V8Debugger& debugger() { return *m_debugger; } | 137 V8Debugger& debugger() { return *m_debugger; } |
| 140 | 138 |
| 141 void setBreakpoint(const String& scriptId, int lineNumber, int columnNumber,
BreakpointSource, const String& condition = String()); | 139 void setBreakpoint(const String& scriptId, int lineNumber, int columnNumber,
BreakpointSource, const String& condition = String()); |
| 142 void removeBreakpoint(const String& scriptId, int lineNumber, int columnNumb
er, BreakpointSource); | 140 void removeBreakpoint(const String& scriptId, int lineNumber, int columnNumb
er, BreakpointSource); |
| 143 | 141 |
| 144 // Async call stacks implementation | 142 // Async call stacks implementation |
| 145 PassRefPtrWillBeRawPtr<ScriptAsyncCallStack> currentAsyncStackTraceForConsol
e(); | 143 PassRefPtrWillBeRawPtr<ScriptAsyncCallStack> currentAsyncStackTraceForConsol
e(); |
| 146 static const int unknownAsyncOperationId; | 144 static const int unknownAsyncOperationId; |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 269 int m_currentAsyncOperationId; | 267 int m_currentAsyncOperationId; |
| 270 bool m_pendingTraceAsyncOperationCompleted; | 268 bool m_pendingTraceAsyncOperationCompleted; |
| 271 bool m_startingStepIntoAsync; | 269 bool m_startingStepIntoAsync; |
| 272 V8GlobalValueMap<String, v8::Script, v8::kNotWeak> m_compiledScripts; | 270 V8GlobalValueMap<String, v8::Script, v8::kNotWeak> m_compiledScripts; |
| 273 }; | 271 }; |
| 274 | 272 |
| 275 } // namespace blink | 273 } // namespace blink |
| 276 | 274 |
| 277 | 275 |
| 278 #endif // V8DebuggerAgent_h | 276 #endif // V8DebuggerAgent_h |
| OLD | NEW |