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

Unified Diff: runtime/vm/debugger.h

Issue 2872503004: vm-service: Add optional 'scope' parameter to 'evaluate' and 'evaluateInFrame'. (Closed)
Patch Set: review Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/observatory/tests/service/evaluate_with_scope_test.dart ('k') | runtime/vm/debugger.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/debugger.h
diff --git a/runtime/vm/debugger.h b/runtime/vm/debugger.h
index d49e3acabbaca8cc29437fd3b757e43a53aec188..6f4bd40e13a053580836c3c60d9099f96908412e 100644
--- a/runtime/vm/debugger.h
+++ b/runtime/vm/debugger.h
@@ -328,7 +328,9 @@ class ActivationFrame : public ZoneAllocated {
const Context& GetSavedCurrentContext();
RawObject* GetAsyncOperation();
- RawObject* Evaluate(const String& expr);
+ RawObject* Evaluate(const String& expr,
+ const GrowableObjectArray& names,
+ const GrowableObjectArray& values);
// Print the activation frame into |jsobj|. if |full| is false, script
// and local variable objects are only references. if |full| is true,
« no previous file with comments | « runtime/observatory/tests/service/evaluate_with_scope_test.dart ('k') | runtime/vm/debugger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698