Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(687)

Side by Side Diff: include/v8-debug.h

Issue 2670823002: [debugger] remove mirror cache and v8::Debug::GetMirror. (Closed)
Patch Set: address comments. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698