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

Unified Diff: runtime/vm/debugger.h

Issue 2872503004: vm-service: Add optional 'scope' parameter to 'evaluate' and 'evaluateInFrame'. (Closed)
Patch Set: . 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
Index: runtime/vm/debugger.h
diff --git a/runtime/vm/debugger.h b/runtime/vm/debugger.h
index 9bf4d969dfa8ffd4eb96a81274ec0ac9c8b92a34..3d3e35a0e705b7cbb373b295f222ba183c09e2d7 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,

Powered by Google App Engine
This is Rietveld 408576698