| 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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 * | 241 * |
| 242 * "Evaluate" debug command behavior currently is not specified in scope | 242 * "Evaluate" debug command behavior currently is not specified in scope |
| 243 * of this method. | 243 * of this method. |
| 244 */ | 244 */ |
| 245 static void ProcessDebugMessages(); | 245 static void ProcessDebugMessages(); |
| 246 | 246 |
| 247 /** | 247 /** |
| 248 * Debugger is running in its own context which is entered while debugger | 248 * Debugger is running in its own context which is entered while debugger |
| 249 * messages are being dispatched. This is an explicit getter for this | 249 * messages are being dispatched. This is an explicit getter for this |
| 250 * debugger context. Note that the content of the debugger context is subject | 250 * debugger context. Note that the content of the debugger context is subject |
| 251 * to change. | 251 * to change. The Context exists only when the debugger is active, i.e. at |
| 252 * least one DebugEventListener or MessageHandler is set. |
| 252 */ | 253 */ |
| 253 static Local<Context> GetDebugContext(); | 254 static Local<Context> GetDebugContext(); |
| 254 | 255 |
| 255 | 256 |
| 256 /** | 257 /** |
| 257 * Enable/disable LiveEdit functionality for the given Isolate | 258 * Enable/disable LiveEdit functionality for the given Isolate |
| 258 * (default Isolate if not provided). V8 will abort if LiveEdit is | 259 * (default Isolate if not provided). V8 will abort if LiveEdit is |
| 259 * unexpectedly used. LiveEdit is enabled by default. | 260 * unexpectedly used. LiveEdit is enabled by default. |
| 260 */ | 261 */ |
| 261 static void SetLiveEditEnabled(Isolate* isolate, bool enable); | 262 static void SetLiveEditEnabled(Isolate* isolate, bool enable); |
| 262 }; | 263 }; |
| 263 | 264 |
| 264 | 265 |
| 265 } // namespace v8 | 266 } // namespace v8 |
| 266 | 267 |
| 267 | 268 |
| 268 #undef EXPORT | 269 #undef EXPORT |
| 269 | 270 |
| 270 | 271 |
| 271 #endif // V8_V8_DEBUG_H_ | 272 #endif // V8_V8_DEBUG_H_ |
| OLD | NEW |