OLD | NEW |
1 <head> | 1 <head> |
| 2 <link rel="import" href="function_ref.html"> |
2 <link rel="import" href="observatory_element.html"> | 3 <link rel="import" href="observatory_element.html"> |
| 4 <link rel="import" href="script_ref.html"> |
3 </head> | 5 </head> |
4 <polymer-element name="stack-trace" extends="observatory-element"> | 6 <polymer-element name="stack-trace" extends="observatory-element"> |
5 <template> | 7 <template> |
6 <div class="alert alert-info">Stack Trace</div> | 8 <div class="alert alert-info">Stack Trace</div> |
7 <table class="table table-hover"> | 9 <table class="table table-hover"> |
8 <thead> | 10 <thead> |
9 <tr> | 11 <tr> |
10 <th>Depth</th> | 12 <th>Depth</th> |
11 <th>Function</th> | 13 <th>Function</th> |
12 <th>Url</th> | 14 <th>Script</th> |
13 <th>Line</th> | 15 <th>Line</th> |
14 </tr> | 16 </tr> |
15 </thead> | 17 </thead> |
16 <tbody> | 18 <tbody> |
17 <tr template repeat="{{ frame in trace['members'] }}"> | 19 <tr template repeat="{{ frame in trace['members'] }}"> |
18 <td>{{$index}}</td> | 20 <td>{{$index}}</td> |
19 <td><a href="{{app.locationManager.currentIsolateObjectLink(frame['funct
ion']['id'])}}">{{ frame['name'] }}</a></td> | 21 <td><function-ref app="{{ app }}" ref="{{ frame['function'] }}"></functi
on-ref></td> |
20 <td>{{ frame['url'] }}</td> | 22 <td><script-ref app="{{ app }}" ref="{{ frame['script'] }}"></script-ref
></td> |
21 <td>{{ frame['line'] }}</td> | 23 <td>{{ frame['line'] }}</td> |
22 </tr> | 24 </tr> |
23 </tbody> | 25 </tbody> |
24 </table> | 26 </table> |
25 </template> | 27 </template> |
26 <script type="application/dart" src="stack_trace.dart"></script> | 28 <script type="application/dart" src="stack_trace.dart"></script> |
27 </polymer-element> | 29 </polymer-element> |
OLD | NEW |