| 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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 V8_DEPRECATED("No longer supported", | 241 V8_DEPRECATED("No longer supported", |
| 242 static void ProcessDebugMessages(Isolate* isolate)); | 242 static void ProcessDebugMessages(Isolate* isolate)); |
| 243 | 243 |
| 244 /** | 244 /** |
| 245 * Debugger is running in its own context which is entered while debugger | 245 * Debugger is running in its own context which is entered while debugger |
| 246 * messages are being dispatched. This is an explicit getter for this | 246 * messages are being dispatched. This is an explicit getter for this |
| 247 * debugger context. Note that the content of the debugger context is subject | 247 * debugger context. Note that the content of the debugger context is subject |
| 248 * to change. The Context exists only when the debugger is active, i.e. at | 248 * to change. The Context exists only when the debugger is active, i.e. at |
| 249 * least one DebugEventListener or MessageHandler is set. | 249 * least one DebugEventListener or MessageHandler is set. |
| 250 */ | 250 */ |
| 251 V8_DEPRECATED("Use v8-inspector", | 251 static Local<Context> GetDebugContext(Isolate* isolate); |
| 252 static Local<Context> GetDebugContext(Isolate* isolate)); | |
| 253 | 252 |
| 254 /** | 253 /** |
| 255 * While in the debug context, this method returns the top-most non-debug | 254 * While in the debug context, this method returns the top-most non-debug |
| 256 * context, if it exists. | 255 * context, if it exists. |
| 257 */ | 256 */ |
| 258 V8_DEPRECATED( | 257 V8_DEPRECATED( |
| 259 "No longer supported", | 258 "No longer supported", |
| 260 static MaybeLocal<Context> GetDebuggedContext(Isolate* isolate)); | 259 static MaybeLocal<Context> GetDebuggedContext(Isolate* isolate)); |
| 261 | 260 |
| 262 /** | 261 /** |
| (...skipping 21 matching lines...) Expand all Loading... |
| 284 }; | 283 }; |
| 285 | 284 |
| 286 | 285 |
| 287 } // namespace v8 | 286 } // namespace v8 |
| 288 | 287 |
| 289 | 288 |
| 290 #undef EXPORT | 289 #undef EXPORT |
| 291 | 290 |
| 292 | 291 |
| 293 #endif // V8_V8_DEBUG_H_ | 292 #endif // V8_V8_DEBUG_H_ |
| OLD | NEW |