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

Unified Diff: runtime/observatory/lib/src/elements/library_view.dart

Issue 1159783004: Misc Observatory patches: (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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/observatory/lib/src/elements/library_view.dart
diff --git a/runtime/observatory/lib/src/elements/library_view.dart b/runtime/observatory/lib/src/elements/library_view.dart
index 55f05bff5a071b6611c4c46feefb48cfff00592f..6b43ae3a5700d2f17f868ed1af4d167124d5af26 100644
--- a/runtime/observatory/lib/src/elements/library_view.dart
+++ b/runtime/observatory/lib/src/elements/library_view.dart
@@ -20,8 +20,15 @@ class LibraryViewElement extends ObservatoryElement {
return library.evaluate(expression);
}
+ void attached() {
+ library.variables.forEach((variable) => variable.reload());
+ }
+
Future refresh() {
- return library.reload();
+ var loads = [];
+ loads.add(library.reload());
+ library.variables.forEach((variable) => loads.add(variable.reload()));
+ return Future.wait(loads);
}
Future refreshCoverage() {
« no previous file with comments | « runtime/observatory/lib/src/elements/isolate_view.html ('k') | runtime/observatory/lib/src/elements/library_view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698