| 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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 void asyncTaskFinishedForStack(void* task); | 140 void asyncTaskFinishedForStack(void* task); |
| 141 | 141 |
| 142 void asyncTaskCandidateForStepping(void* task); | 142 void asyncTaskCandidateForStepping(void* task); |
| 143 void asyncTaskStartedForStepping(void* task); | 143 void asyncTaskStartedForStepping(void* task); |
| 144 void asyncTaskFinishedForStepping(void* task); | 144 void asyncTaskFinishedForStepping(void* task); |
| 145 void asyncTaskCanceledForStepping(void* task); | 145 void asyncTaskCanceledForStepping(void* task); |
| 146 | 146 |
| 147 void registerAsyncTaskIfNeeded(void* task); | 147 void registerAsyncTaskIfNeeded(void* task); |
| 148 | 148 |
| 149 // v8::debug::DebugEventListener implementation. | 149 // v8::debug::DebugEventListener implementation. |
| 150 void PromiseEventOccurred(v8::Local<v8::Context> context, | 150 void PromiseEventOccurred(v8::debug::PromiseDebugActionType type, int id, |
| 151 v8::debug::PromiseDebugActionType type, int id, | |
| 152 int parentId, bool createdByUser) override; | 151 int parentId, bool createdByUser) override; |
| 153 void ScriptCompiled(v8::Local<v8::debug::Script> script, | 152 void ScriptCompiled(v8::Local<v8::debug::Script> script, |
| 154 bool has_compile_error) override; | 153 bool has_compile_error) override; |
| 155 void BreakProgramRequested(v8::Local<v8::Context> paused_context, | 154 void BreakProgramRequested(v8::Local<v8::Context> paused_context, |
| 156 v8::Local<v8::Object> exec_state, | 155 v8::Local<v8::Object> exec_state, |
| 157 v8::Local<v8::Value> break_points_hit) override; | 156 v8::Local<v8::Value> break_points_hit) override; |
| 158 void ExceptionThrown(v8::Local<v8::Context> paused_context, | 157 void ExceptionThrown(v8::Local<v8::Context> paused_context, |
| 159 v8::Local<v8::Object> exec_state, | 158 v8::Local<v8::Object> exec_state, |
| 160 v8::Local<v8::Value> exception, | 159 v8::Local<v8::Value> exception, |
| 161 v8::Local<v8::Value> promise, bool is_uncaught) override; | 160 v8::Local<v8::Value> promise, bool is_uncaught) override; |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 v8::debug::ExceptionBreakState m_pauseOnExceptionsState; | 201 v8::debug::ExceptionBreakState m_pauseOnExceptionsState; |
| 203 | 202 |
| 204 WasmTranslation m_wasmTranslation; | 203 WasmTranslation m_wasmTranslation; |
| 205 | 204 |
| 206 DISALLOW_COPY_AND_ASSIGN(V8Debugger); | 205 DISALLOW_COPY_AND_ASSIGN(V8Debugger); |
| 207 }; | 206 }; |
| 208 | 207 |
| 209 } // namespace v8_inspector | 208 } // namespace v8_inspector |
| 210 | 209 |
| 211 #endif // V8_INSPECTOR_V8DEBUGGER_H_ | 210 #endif // V8_INSPECTOR_V8DEBUGGER_H_ |
| OLD | NEW |