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

Unified Diff: runtime/observatory/lib/src/elements/instance_view.html

Issue 1150103005: Provide a logical view of VM-internal maps in Observatory. (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/instance_view.html
diff --git a/runtime/observatory/lib/src/elements/instance_view.html b/runtime/observatory/lib/src/elements/instance_view.html
index 2745e9b27ed5c8cd364ca931bd0cbb83a412c58d..e1bb8302d42842cddd3438e20a3666a5369ccd9a 100644
--- a/runtime/observatory/lib/src/elements/instance_view.html
+++ b/runtime/observatory/lib/src/elements/instance_view.html
@@ -166,7 +166,7 @@
<template if="{{ instance.elements.isNotEmpty }}">
elements ({{ instance.elements.length }})
- <curly-block expand="{{ instance.elements.length <= 8 }}">
+ <curly-block expand="{{ instance.elements.length <= 100 }}">
<div class="memberList">
<template repeat="{{ element in instance.elements }}">
<div class="memberItem">
@@ -179,6 +179,25 @@
</div>
</curly-block><br><br>
</template>
+
+ <template if="{{ instance.associations.isNotEmpty }}">
+ associations ({{ instance.elements.length }})
+ <curly-block expand="{{ instance.associations.length <= 100 }}">
+ <div class="memberList">
+ <template repeat="{{ association in instance.associations }}">
+ <div class="memberItem">
+ <div class="memberValue">
+ [<any-service-ref ref="{{ association['key'] }}"></any-service-ref>]
+ </div>
+ <div class="memberValue">
+ <any-service-ref ref="{{ association['value'] }}"></any-service-ref>
+ </div>
+ </div>
+ </template>
+ </div>
+ </curly-block><br><br>
+ </template>
+
</div>
</template>
« no previous file with comments | « runtime/observatory/lib/src/elements/instance_ref.html ('k') | runtime/observatory/lib/src/service/object.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698