| 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" // NOLINT(build/include) | 8 #include "v8.h" // NOLINT(build/include) |
| 9 | 9 |
| 10 /** | 10 /** |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 * function frame_source_line(exec_state) { | 187 * function frame_source_line(exec_state) { |
| 188 * return exec_state.frame(0).sourceLine(); | 188 * return exec_state.frame(0).sourceLine(); |
| 189 * } | 189 * } |
| 190 * \endcode | 190 * \endcode |
| 191 */ | 191 */ |
| 192 // TODO(dcarney): data arg should be a MaybeLocal | 192 // TODO(dcarney): data arg should be a MaybeLocal |
| 193 static MaybeLocal<Value> Call(Local<Context> context, | 193 static MaybeLocal<Value> Call(Local<Context> context, |
| 194 v8::Local<v8::Function> fun, | 194 v8::Local<v8::Function> fun, |
| 195 Local<Value> data = Local<Value>()); | 195 Local<Value> data = Local<Value>()); |
| 196 | 196 |
| 197 /** | |
| 198 * Returns a mirror object for the given object. | |
| 199 */ | |
| 200 V8_DEPRECATED("No longer supported", | |
| 201 static MaybeLocal<Value> GetMirror(Local<Context> context, | |
| 202 v8::Local<v8::Value> obj)); | |
| 203 | |
| 204 // This is now a no-op. | 197 // This is now a no-op. |
| 205 V8_DEPRECATED("No longer supported", | 198 V8_DEPRECATED("No longer supported", |
| 206 static void ProcessDebugMessages(Isolate* isolate)); | 199 static void ProcessDebugMessages(Isolate* isolate)); |
| 207 | 200 |
| 208 /** | 201 /** |
| 209 * Debugger is running in its own context which is entered while debugger | 202 * Debugger is running in its own context which is entered while debugger |
| 210 * messages are being dispatched. This is an explicit getter for this | 203 * messages are being dispatched. This is an explicit getter for this |
| 211 * debugger context. Note that the content of the debugger context is subject | 204 * debugger context. Note that the content of the debugger context is subject |
| 212 * to change. The Context exists only when the debugger is active, i.e. at | 205 * to change. The Context exists only when the debugger is active, i.e. at |
| 213 * least one DebugEventListener or MessageHandler is set. | 206 * least one DebugEventListener or MessageHandler is set. |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 248 }; | 241 }; |
| 249 | 242 |
| 250 | 243 |
| 251 } // namespace v8 | 244 } // namespace v8 |
| 252 | 245 |
| 253 | 246 |
| 254 #undef EXPORT | 247 #undef EXPORT |
| 255 | 248 |
| 256 | 249 |
| 257 #endif // V8_V8_DEBUG_H_ | 250 #endif // V8_V8_DEBUG_H_ |
| OLD | NEW |