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

Unified Diff: runtime/observatory/lib/src/service/object.dart

Issue 993613002: Implement 'print', 'up', 'down', and 'frame' commands in the Observatory debugger. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 9 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/observatory/lib/src/service/object.dart
diff --git a/runtime/observatory/lib/src/service/object.dart b/runtime/observatory/lib/src/service/object.dart
index 71c6a09682c5139f00514899c99a8d431b6a6e8e..9ec50054f776f19234d30c4341c520db1b6fd6ca 100644
--- a/runtime/observatory/lib/src/service/object.dart
+++ b/runtime/observatory/lib/src/service/object.dart
@@ -1207,6 +1207,15 @@ class Isolate extends ServiceObjectOwner with Coverage {
return invokeRpc('eval', params);
}
+ Future<ServiceObject> evalFrame(int framePos,
+ String expression) {
+ Map params = {
+ 'frame': framePos,
+ 'expression': expression,
+ };
+ return invokeRpc('evalFrame', params);
+ }
+
Future<ServiceObject> getRetainedSize(ServiceObject target) {
Map params = {
'targetId': target.id,

Powered by Google App Engine
This is Rietveld 408576698