Index: runtime/observatory/bin/shell.dart |
diff --git a/runtime/observatory/bin/shell.dart b/runtime/observatory/bin/shell.dart |
index 1a1f13c880894da79df568ded1d332d771025694..ae4e7ffb52e0c2b5aec470d92e8227175d79bb4f 100644 |
--- a/runtime/observatory/bin/shell.dart |
+++ b/runtime/observatory/bin/shell.dart |
@@ -22,8 +22,8 @@ void repl(VM vm, Isolate isolate, String lastResult) { |
Map params = { |
'objectId': stdin.readLineSync(), |
}; |
- isolate.invokeRpc('getObject', params).then((String result) { |
- repl(vm, prefix, result); |
+ isolate.invokeRpcNoUpgrade('getObject', params).then((Map result) { |
+ repl(vm, isolate, result.toString()); |
}); |
} |