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