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> generatorObjectLocation(v8::Local<v8::Context>, | |
117 v8::Local<v8::Object>); | |
118 v8::Local<v8::Value> functionLocation(v8::Local<v8::Context>, | |
119 v8::Local<v8::Function>); | |
120 | |
121 enum ScopeTargetKind { | 116 enum ScopeTargetKind { |
122 FUNCTION, | 117 FUNCTION, |
123 GENERATOR, | 118 GENERATOR, |
124 }; | 119 }; |
125 v8::MaybeLocal<v8::Value> getTargetScopes(v8::Local<v8::Context>, | 120 v8::MaybeLocal<v8::Value> getTargetScopes(v8::Local<v8::Context>, |
126 v8::Local<v8::Value>, | 121 v8::Local<v8::Value>, |
127 ScopeTargetKind); | 122 ScopeTargetKind); |
128 | 123 |
129 v8::MaybeLocal<v8::Value> functionScopes(v8::Local<v8::Context>, | 124 v8::MaybeLocal<v8::Value> functionScopes(v8::Local<v8::Context>, |
130 v8::Local<v8::Function>); | 125 v8::Local<v8::Function>); |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 v8::debug::ExceptionBreakState m_pauseOnExceptionsState; | 175 v8::debug::ExceptionBreakState m_pauseOnExceptionsState; |
181 | 176 |
182 WasmTranslation m_wasmTranslation; | 177 WasmTranslation m_wasmTranslation; |
183 | 178 |
184 DISALLOW_COPY_AND_ASSIGN(V8Debugger); | 179 DISALLOW_COPY_AND_ASSIGN(V8Debugger); |
185 }; | 180 }; |
186 | 181 |
187 } // namespace v8_inspector | 182 } // namespace v8_inspector |
188 | 183 |
189 #endif // V8_INSPECTOR_V8DEBUGGER_H_ | 184 #endif // V8_INSPECTOR_V8DEBUGGER_H_ |
OLD | NEW |