| 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_DEBUG_DEBUG_INTERFACE_H_ | 5 #ifndef V8_DEBUG_DEBUG_INTERFACE_H_ |
| 6 #define V8_DEBUG_DEBUG_INTERFACE_H_ | 6 #define V8_DEBUG_DEBUG_INTERFACE_H_ |
| 7 | 7 |
| 8 #include <functional> | 8 #include <functional> |
| 9 | 9 |
| 10 #include "include/v8-debug.h" | 10 #include "include/v8-debug.h" |
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 kObjectGetPrototypeOf, | 204 kObjectGetPrototypeOf, |
| 205 kObjectGetOwnPropertyDescriptor, | 205 kObjectGetOwnPropertyDescriptor, |
| 206 kObjectGetOwnPropertyNames, | 206 kObjectGetOwnPropertyNames, |
| 207 kObjectGetOwnPropertySymbols, | 207 kObjectGetOwnPropertySymbols, |
| 208 }; | 208 }; |
| 209 | 209 |
| 210 Local<Function> GetBuiltin(Isolate* isolate, Builtin builtin); | 210 Local<Function> GetBuiltin(Isolate* isolate, Builtin builtin); |
| 211 | 211 |
| 212 void SetConsoleDelegate(Isolate* isolate, ConsoleDelegate* delegate); | 212 void SetConsoleDelegate(Isolate* isolate, ConsoleDelegate* delegate); |
| 213 | 213 |
| 214 int GetStackFrameId(v8::Local<v8::StackFrame> frame); |
| 215 |
| 214 /** | 216 /** |
| 215 * Native wrapper around v8::internal::JSGeneratorObject object. | 217 * Native wrapper around v8::internal::JSGeneratorObject object. |
| 216 */ | 218 */ |
| 217 class GeneratorObject { | 219 class GeneratorObject { |
| 218 public: | 220 public: |
| 219 v8::MaybeLocal<debug::Script> Script(); | 221 v8::MaybeLocal<debug::Script> Script(); |
| 220 v8::Local<v8::Function> Function(); | 222 v8::Local<v8::Function> Function(); |
| 221 debug::Location SuspendedLocation(); | 223 debug::Location SuspendedLocation(); |
| 222 bool IsSuspended(); | 224 bool IsSuspended(); |
| 223 | 225 |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 ~Coverage(); | 288 ~Coverage(); |
| 287 | 289 |
| 288 private: | 290 private: |
| 289 explicit Coverage(i::Coverage* coverage) : coverage_(coverage) {} | 291 explicit Coverage(i::Coverage* coverage) : coverage_(coverage) {} |
| 290 i::Coverage* coverage_; | 292 i::Coverage* coverage_; |
| 291 }; | 293 }; |
| 292 } // namespace debug | 294 } // namespace debug |
| 293 } // namespace v8 | 295 } // namespace v8 |
| 294 | 296 |
| 295 #endif // V8_DEBUG_DEBUG_INTERFACE_H_ | 297 #endif // V8_DEBUG_DEBUG_INTERFACE_H_ |
| OLD | NEW |