OLD | NEW |
1 // Copyright 2008 the V8 project authors. All rights reserved. | 1 // Copyright 2008 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_V8_DEBUG_H_ | 5 #ifndef V8_V8_DEBUG_H_ |
6 #define V8_V8_DEBUG_H_ | 6 #define V8_V8_DEBUG_H_ |
7 | 7 |
8 #include "v8.h" | 8 #include "v8.h" |
9 | 9 |
10 /** | 10 /** |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 */ | 253 */ |
254 static Local<Context> GetDebugContext(); | 254 static Local<Context> GetDebugContext(); |
255 | 255 |
256 | 256 |
257 /** | 257 /** |
258 * Enable/disable LiveEdit functionality for the given Isolate | 258 * Enable/disable LiveEdit functionality for the given Isolate |
259 * (default Isolate if not provided). V8 will abort if LiveEdit is | 259 * (default Isolate if not provided). V8 will abort if LiveEdit is |
260 * unexpectedly used. LiveEdit is enabled by default. | 260 * unexpectedly used. LiveEdit is enabled by default. |
261 */ | 261 */ |
262 static void SetLiveEditEnabled(Isolate* isolate, bool enable); | 262 static void SetLiveEditEnabled(Isolate* isolate, bool enable); |
| 263 |
| 264 /** |
| 265 * Returns array of internal properties specific to the value type. Result has |
| 266 * the following format: [<name>, <value>,...,<name>, <value>]. Result array |
| 267 * will be allocated in the current context. |
| 268 */ |
| 269 static MaybeLocal<Array> GetInternalProperties(Isolate* isolate, |
| 270 Local<Value> value); |
263 }; | 271 }; |
264 | 272 |
265 | 273 |
266 } // namespace v8 | 274 } // namespace v8 |
267 | 275 |
268 | 276 |
269 #undef EXPORT | 277 #undef EXPORT |
270 | 278 |
271 | 279 |
272 #endif // V8_V8_DEBUG_H_ | 280 #endif // V8_V8_DEBUG_H_ |
OLD | NEW |