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

Unified Diff: runtime/bin/vmservice/client/observatory/packages/observatory/src/observatory_elements/stack_trace.html

Issue 24471002: Initial GUI for review (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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/bin/vmservice/client/observatory/packages/observatory/src/observatory_elements/stack_trace.html
diff --git a/runtime/bin/vmservice/client/observatory/packages/observatory/src/observatory_elements/stack_trace.html b/runtime/bin/vmservice/client/observatory/packages/observatory/src/observatory_elements/stack_trace.html
new file mode 100644
index 0000000000000000000000000000000000000000..fdfba1136e4e36182b9c2cf114cff195d641485a
--- /dev/null
+++ b/runtime/bin/vmservice/client/observatory/packages/observatory/src/observatory_elements/stack_trace.html
@@ -0,0 +1,24 @@
+<polymer-element name="stack-trace" attributes="app trace">
+ <template>
+ <div class="alert alert-info">Stack Trace</div>
+ <table class="table table-hover">
+ <thead>
+ <tr>
+ <th>Depth</th>
+ <th>Function</th>
+ <th>Url</th>
+ <th>Line</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr template repeat="{{ frame in trace['members'] }}">
+ <td>{{$index}}</td>
+ <td>{{ frame['name'] }}</td>
+ <td>{{ frame['url'] }}</td>
+ <td>{{ frame['line'] }}</td>
+ </tr>
+ </tbody>
+ </table>
+ </template>
+ <script type="application/dart" src="stack_trace.dart"></script>
+</polymer-element>

Powered by Google App Engine
This is Rietveld 408576698