| 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 static void v8OOMCallback(void* data); | 106 static void v8OOMCallback(void* data); |
| 107 | 107 |
| 108 static void breakProgramCallback(const v8::FunctionCallbackInfo<v8::Value>&); | 108 static void breakProgramCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
| 109 void handleProgramBreak(v8::Local<v8::Context> pausedContext, | 109 void handleProgramBreak(v8::Local<v8::Context> pausedContext, |
| 110 v8::Local<v8::Object> executionState, | 110 v8::Local<v8::Object> executionState, |
| 111 v8::Local<v8::Value> exception, | 111 v8::Local<v8::Value> exception, |
| 112 v8::Local<v8::Array> hitBreakpoints, | 112 v8::Local<v8::Array> hitBreakpoints, |
| 113 bool isPromiseRejection = false, | 113 bool isPromiseRejection = false, |
| 114 bool isUncaught = false); | 114 bool isUncaught = false); |
| 115 | 115 |
| 116 v8::Local<v8::Value> collectionEntries(v8::Local<v8::Context>, | |
| 117 v8::Local<v8::Object>); | |
| 118 v8::Local<v8::Value> generatorObjectLocation(v8::Local<v8::Context>, | 116 v8::Local<v8::Value> generatorObjectLocation(v8::Local<v8::Context>, |
| 119 v8::Local<v8::Object>); | 117 v8::Local<v8::Object>); |
| 120 v8::Local<v8::Value> functionLocation(v8::Local<v8::Context>, | 118 v8::Local<v8::Value> functionLocation(v8::Local<v8::Context>, |
| 121 v8::Local<v8::Function>); | 119 v8::Local<v8::Function>); |
| 122 | 120 |
| 123 enum ScopeTargetKind { | 121 enum ScopeTargetKind { |
| 124 FUNCTION, | 122 FUNCTION, |
| 125 GENERATOR, | 123 GENERATOR, |
| 126 }; | 124 }; |
| 127 v8::MaybeLocal<v8::Value> getTargetScopes(v8::Local<v8::Context>, | 125 v8::MaybeLocal<v8::Value> getTargetScopes(v8::Local<v8::Context>, |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 v8::debug::ExceptionBreakState m_pauseOnExceptionsState; | 180 v8::debug::ExceptionBreakState m_pauseOnExceptionsState; |
| 183 | 181 |
| 184 WasmTranslation m_wasmTranslation; | 182 WasmTranslation m_wasmTranslation; |
| 185 | 183 |
| 186 DISALLOW_COPY_AND_ASSIGN(V8Debugger); | 184 DISALLOW_COPY_AND_ASSIGN(V8Debugger); |
| 187 }; | 185 }; |
| 188 | 186 |
| 189 } // namespace v8_inspector | 187 } // namespace v8_inspector |
| 190 | 188 |
| 191 #endif // V8_INSPECTOR_V8DEBUGGER_H_ | 189 #endif // V8_INSPECTOR_V8DEBUGGER_H_ |
| OLD | NEW |