| OLD | NEW |
| 1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 the V8 project 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 V8_INSPECTOR_V8DEBUGGER_H_ | 5 #ifndef V8_INSPECTOR_V8DEBUGGER_H_ |
| 6 #define V8_INSPECTOR_V8DEBUGGER_H_ | 6 #define V8_INSPECTOR_V8DEBUGGER_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "src/base/macros.h" | 10 #include "src/base/macros.h" |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 void PromiseEventOccurred(v8::debug::PromiseDebugActionType type, int id, | 133 void PromiseEventOccurred(v8::debug::PromiseDebugActionType type, int id, |
| 134 int parentId) override; | 134 int parentId) override; |
| 135 void ScriptCompiled(v8::Local<v8::debug::Script> script, | 135 void ScriptCompiled(v8::Local<v8::debug::Script> script, |
| 136 bool has_compile_error) override; | 136 bool has_compile_error) override; |
| 137 void BreakProgramRequested(v8::Local<v8::Context> paused_context, | 137 void BreakProgramRequested(v8::Local<v8::Context> paused_context, |
| 138 v8::Local<v8::Object> exec_state, | 138 v8::Local<v8::Object> exec_state, |
| 139 v8::Local<v8::Value> break_points_hit) override; | 139 v8::Local<v8::Value> break_points_hit) override; |
| 140 void ExceptionThrown(v8::Local<v8::Context> paused_context, | 140 void ExceptionThrown(v8::Local<v8::Context> paused_context, |
| 141 v8::Local<v8::Object> exec_state, | 141 v8::Local<v8::Object> exec_state, |
| 142 v8::Local<v8::Value> exception, | 142 v8::Local<v8::Value> exception, |
| 143 bool is_promise_rejection, bool is_uncaught) override; | 143 v8::Local<v8::Value> promise, bool is_uncaught) override; |
| 144 bool IsFunctionBlackboxed(v8::Local<v8::debug::Script> script, | 144 bool IsFunctionBlackboxed(v8::Local<v8::debug::Script> script, |
| 145 const v8::debug::Location& start, | 145 const v8::debug::Location& start, |
| 146 const v8::debug::Location& end) override; | 146 const v8::debug::Location& end) override; |
| 147 | 147 |
| 148 v8::Isolate* m_isolate; | 148 v8::Isolate* m_isolate; |
| 149 V8InspectorImpl* m_inspector; | 149 V8InspectorImpl* m_inspector; |
| 150 int m_enableCount; | 150 int m_enableCount; |
| 151 bool m_breakpointsActivated; | 151 bool m_breakpointsActivated; |
| 152 v8::Global<v8::Object> m_debuggerScript; | 152 v8::Global<v8::Object> m_debuggerScript; |
| 153 v8::Global<v8::Context> m_debuggerContext; | 153 v8::Global<v8::Context> m_debuggerContext; |
| (...skipping 21 matching lines...) Expand all Loading... |
| 175 v8::debug::ExceptionBreakState m_pauseOnExceptionsState; | 175 v8::debug::ExceptionBreakState m_pauseOnExceptionsState; |
| 176 | 176 |
| 177 WasmTranslation m_wasmTranslation; | 177 WasmTranslation m_wasmTranslation; |
| 178 | 178 |
| 179 DISALLOW_COPY_AND_ASSIGN(V8Debugger); | 179 DISALLOW_COPY_AND_ASSIGN(V8Debugger); |
| 180 }; | 180 }; |
| 181 | 181 |
| 182 } // namespace v8_inspector | 182 } // namespace v8_inspector |
| 183 | 183 |
| 184 #endif // V8_INSPECTOR_V8DEBUGGER_H_ | 184 #endif // V8_INSPECTOR_V8DEBUGGER_H_ |
| OLD | NEW |