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

Unified Diff: runtime/bin/vmservice/client/deployed/web/index.html

Issue 172913002: Add hide/show for stack frame variables. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: gen js Created 6 years, 10 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
« no previous file with comments | « no previous file | runtime/bin/vmservice/client/deployed/web/index.html_bootstrap.dart.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/vmservice/client/deployed/web/index.html
diff --git a/runtime/bin/vmservice/client/deployed/web/index.html b/runtime/bin/vmservice/client/deployed/web/index.html
index 36c28f76cdb1a318f28f4298e5f863d1e35e0f36..a0b88e10128994b8949fa40316ac10c6e97bb6ad 100644
--- a/runtime/bin/vmservice/client/deployed/web/index.html
+++ b/runtime/bin/vmservice/client/deployed/web/index.html
@@ -703,24 +703,25 @@
<div class="col-md-9">
<function-ref app="{{ app }}" ref="{{ frame['function'] }}"></function-ref>
( <script-ref app="{{ app }}" ref="{{ frame['script'] }}" line="{{ frame['line'] }}">
- </script-ref> )
+ </script-ref> ) {
+ <a on-click="{{ toggleExpand }}">...</a>
+
+ <template if="{{ expanded }}">
+ <table class="memberList">
+ <tbody><tr template="" repeat="{{ v in frame['vars'] }}">
+ <td class="member">{{ v['name']}}</td>
+ <td class="member">
+ <instance-ref app="{{ app }}" ref="{{ v['value'] }}"></instance-ref>
+ </td>
+ </tr>
+ </tbody></table>
+ </template>
+ }
+
</div>
<div class="col-md-1"></div>
</div>
- <div class="row">
- <div class="col-md-3"></div>
- <div class="col-md-9">
- <table class="memberList">
- <tbody><tr template="" repeat="{{ v in frame['vars'] }}">
- <td class="member">{{ v['name']}}</td>
- <td class="member">
- <instance-ref app="{{ app }}" ref="{{ v['value'] }}"></instance-ref>
- </td>
- </tr>
- </tbody></table>
- </div>
- </div>
</template>
« no previous file with comments | « no previous file | runtime/bin/vmservice/client/deployed/web/index.html_bootstrap.dart.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698