OLD | NEW |
1 <!DOCTYPE html><html><head><script src="packages/shadow_dom/shadow_dom.debug.js"
></script> | 1 <!DOCTYPE html><html><head><script src="packages/shadow_dom/shadow_dom.debug.js"
></script> |
2 <script src="packages/custom_element/custom-elements.debug.js"></script> | 2 <script src="packages/custom_element/custom-elements.debug.js"></script> |
3 | 3 |
4 <meta charset="utf-8"> | 4 <meta charset="utf-8"> |
5 <link type="text/css" rel="stylesheet" href="bootstrap_css/css/bootstrap.min.c
ss"> | 5 <link type="text/css" rel="stylesheet" href="bootstrap_css/css/bootstrap.min.c
ss"> |
6 | 6 |
7 <title>Dart VM Observatory</title> | 7 <title>Dart VM Observatory</title> |
8 <script type="text/javascript" src="https://www.google.com/jsapi"></script> | 8 <script type="text/javascript" src="https://www.google.com/jsapi"></script> |
9 <script src="packages/browser/interop.js"></script> | 9 <script src="packages/browser/interop.js"></script> |
10 | 10 |
(...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
524 <div class="memberList"> | 524 <div class="memberList"> |
525 <div class="memberItem"> | 525 <div class="memberItem"> |
526 <div class="memberName">library</div> | 526 <div class="memberName">library</div> |
527 <div class="memberValue"> | 527 <div class="memberValue"> |
528 <library-ref ref="{{ cls['library'] }}"></library-ref> | 528 <library-ref ref="{{ cls['library'] }}"></library-ref> |
529 </div> | 529 </div> |
530 </div> | 530 </div> |
531 <div class="memberItem"> | 531 <div class="memberItem"> |
532 <div class="memberName">script</div> | 532 <div class="memberName">script</div> |
533 <div class="memberValue"> | 533 <div class="memberValue"> |
534 <script-ref ref="{{ cls['script'] }}" line="{{ cls['line'] }}"> | 534 <script-ref ref="{{ cls['script'] }}" pos="{{ cls['tokenPos'] }}"> |
535 </script-ref> | 535 </script-ref> |
536 </div> | 536 </div> |
537 </div> | 537 </div> |
538 | 538 |
539 <div class="memberItem"> </div> | 539 <div class="memberItem"> </div> |
540 | 540 |
541 <template if="{{ cls['super'] != null }}"> | 541 <template if="{{ cls['super'] != null }}"> |
542 <div class="memberItem"> | 542 <div class="memberItem"> |
543 <div class="memberName">extends</div> | 543 <div class="memberName">extends</div> |
544 <div class="memberValue"> | 544 <div class="memberValue"> |
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
927 <class-ref ref="{{ function['owner'] }}"></class-ref> | 927 <class-ref ref="{{ function['owner'] }}"></class-ref> |
928 </template> | 928 </template> |
929 <template if="{{ function['owner'].serviceType != 'Class' }}"> | 929 <template if="{{ function['owner'].serviceType != 'Class' }}"> |
930 <library-ref ref="{{ function['owner'] }}"></library-ref> | 930 <library-ref ref="{{ function['owner'] }}"></library-ref> |
931 </template> | 931 </template> |
932 </div> | 932 </div> |
933 </div> | 933 </div> |
934 <div class="memberItem"> | 934 <div class="memberItem"> |
935 <div class="memberName">script</div> | 935 <div class="memberName">script</div> |
936 <div class="memberValue"> | 936 <div class="memberValue"> |
937 <script-ref ref="{{ function['script'] }}"></script-ref> | 937 <script-ref ref="{{ function['script'] }}" pos="{{ function['tokenPo
s'] }}"> |
| 938 </script-ref> |
938 </div> | 939 </div> |
939 </div> | 940 </div> |
940 | 941 |
941 <div class="memberItem"> </div> | 942 <div class="memberItem"> </div> |
942 | 943 |
943 <template if="{{ function['code'] != null }}"> | 944 <template if="{{ function['code'] != null }}"> |
944 <div class="memberItem"> | 945 <div class="memberItem"> |
945 <div class="memberName">optimized code</div> | 946 <div class="memberName">optimized code</div> |
946 <div class="memberValue"> | 947 <div class="memberValue"> |
947 <code-ref ref="{{ function['code'] }}"></code-ref> | 948 <code-ref ref="{{ function['code'] }}"></code-ref> |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1000 </div> | 1001 </div> |
1001 </template> | 1002 </template> |
1002 | 1003 |
1003 </polymer-element> | 1004 </polymer-element> |
1004 <polymer-element name="isolate-ref" extends="service-ref"> | 1005 <polymer-element name="isolate-ref" extends="service-ref"> |
1005 <template> | 1006 <template> |
1006 <a href="{{ url }}">{{ ref.name }}</a> | 1007 <a href="{{ url }}">{{ ref.name }}</a> |
1007 </template> | 1008 </template> |
1008 | 1009 |
1009 </polymer-element> | 1010 </polymer-element> |
| 1011 <polymer-element name="script-inset" extends="observatory-element"> |
| 1012 <template> |
| 1013 <style> |
| 1014 .sourceInset { |
| 1015 padding-left: 15%; |
| 1016 padding-right: 15%; |
| 1017 } |
| 1018 .grayBox { |
| 1019 width: 100%; |
| 1020 background-color: #f5f5f5; |
| 1021 border: 1px solid #ccc; |
| 1022 padding: 10px; |
| 1023 } |
| 1024 </style> |
| 1025 <div class="sourceInset"> |
| 1026 <content></content> |
| 1027 <div class="grayBox"> |
| 1028 <table> |
| 1029 <tbody> |
| 1030 <tr template="" repeat="{{ line in lines }}"> |
| 1031 <td style="font-family: consolas, courier, monospace;font-size: 1e
m;line-height: 1.2em;white-space: nowrap;">{{line.line}}</td> |
| 1032 <td> </td> |
| 1033 <td width="99%" style="font-family: consolas, courier, monospace;f
ont-size: 1em;line-height: 1.2em;white-space: pre;">{{line.text}}</td> |
| 1034 </tr> |
| 1035 </tbody> |
| 1036 </table> |
| 1037 </div> |
| 1038 </div> |
| 1039 </template> |
| 1040 |
| 1041 </polymer-element> |
1010 <polymer-element name="isolate-summary" extends="observatory-element"> | 1042 <polymer-element name="isolate-summary" extends="observatory-element"> |
1011 <template> | 1043 <template> |
1012 <div class="row"> | 1044 <div class="row"> |
1013 <div class="col-md-1"> | 1045 <div class="col-md-1"> |
1014 <img src="packages/observatory/src/elements/img/isolate_icon.png" class=
"img-polaroid"> | 1046 <img src="packages/observatory/src/elements/img/isolate_icon.png" class=
"img-polaroid"> |
1015 </div> | 1047 </div> |
1016 | 1048 |
1017 <div class="col-md-1">{{ isolate.mainPort }}</div> | 1049 <div class="col-md-1">{{ isolate.mainPort }}</div> |
1018 | 1050 |
1019 <!-- TODO(turnidge): Use function-ref when it can take isolate param --> | 1051 <!-- TODO(turnidge): Use function-ref when it can take isolate param --> |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1068 <div class="col-md-2"> | 1100 <div class="col-md-2"> |
1069 <template if="{{ isolate.topFrame == null }}"> | 1101 <template if="{{ isolate.topFrame == null }}"> |
1070 idle | 1102 idle |
1071 </template> | 1103 </template> |
1072 <template if="{{ isolate.topFrame != null }}"> | 1104 <template if="{{ isolate.topFrame != null }}"> |
1073 run | 1105 run |
1074 </template> | 1106 </template> |
1075 ( <a href="{{ isolate.relativeHashLink('stacktrace') }}">stack trace</a>
) | 1107 ( <a href="{{ isolate.relativeHashLink('stacktrace') }}">stack trace</a>
) |
1076 </div> | 1108 </div> |
1077 </div> | 1109 </div> |
1078 <div class="row"> | 1110 <template if="{{ isolate.topFrame != null }}"> |
1079 <div class="col-md-3"> | 1111 <script-inset script="{{ isolate.topFrame['script'] }}" pos="{{ isolate.to
pFrame['tokenPos'] }}"> |
1080 </div> | 1112 <function-ref ref="{{ isolate.topFrame['function'] }}"></function-ref> |
1081 <div class="col-md-6"> | 1113 (<script-ref ref="{{ isolate.topFrame['script'] }}" pos="{{ isolate.topF
rame['tokenPos'] }}"></script-ref>) |
1082 <template if="{{ isolate.topFrame != null }}"> | 1114 </script-inset> |
1083 <function-ref ref="{{ isolate.topFrame['function'] }}"></function-ref> | 1115 </template> |
1084 (<script-ref ref="{{ isolate.topFrame['script'] }}" line="{{ isolate.t
opFrame['line'] }}"></script-ref>) | |
1085 <br> | |
1086 <pre>{{ isolate.topFrame['line'] }} {{ isolate.topFrame['lineSt
ring'] }}</pre> | |
1087 </template> | |
1088 </div> | |
1089 <div class="col-md-3"> | |
1090 </div> | |
1091 </div> | |
1092 </template> | 1116 </template> |
1093 | 1117 |
1094 </polymer-element> | 1118 </polymer-element> |
1095 <polymer-element name="isolate-view" extends="observatory-element"> | 1119 <polymer-element name="isolate-view" extends="observatory-element"> |
1096 <template> | 1120 <template> |
1097 <style> | 1121 <style> |
1098 .content { | 1122 .content { |
1099 padding-left: 10%; | 1123 padding-left: 10%; |
1100 font: 400 14px 'Montserrat', sans-serif; | 1124 font: 400 14px 'Montserrat', sans-serif; |
1101 } | 1125 } |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1187 <div class="memberValue"> | 1211 <div class="memberValue"> |
1188 <instance-ref ref="{{ isolate.error.stacktrace }}"></instance-ref> | 1212 <instance-ref ref="{{ isolate.error.stacktrace }}"></instance-ref> |
1189 </div> | 1213 </div> |
1190 </template> | 1214 </template> |
1191 </div> | 1215 </div> |
1192 </div> | 1216 </div> |
1193 </div> | 1217 </div> |
1194 <hr> | 1218 <hr> |
1195 </template> | 1219 </template> |
1196 | 1220 |
| 1221 <br> |
| 1222 |
1197 <template if="{{ isolate.topFrame != null }}"> | 1223 <template if="{{ isolate.topFrame != null }}"> |
1198 <br> | 1224 <script-inset script="{{ isolate.topFrame['script'] }}" pos="{{ isolate.to
pFrame['tokenPos'] }}"> |
1199 <div class="sourceInset"> | 1225 </script-inset> |
1200 <pre> {{ isolate.topFrame['line'] }} {{ isolate.topFrame
['lineString'] }}</pre> | |
1201 </div> | |
1202 </template> | 1226 </template> |
1203 | 1227 |
1204 <br> | 1228 <br> |
1205 | 1229 |
1206 <div class="content"> | 1230 <div class="content"> |
1207 <div class="memberList"> | 1231 <div class="memberList"> |
1208 <div class="memberItem"> | 1232 <div class="memberItem"> |
1209 <div class="memberName">root library</div> | 1233 <div class="memberName">root library</div> |
1210 <div class="memberValue"> | 1234 <div class="memberValue"> |
1211 <function-ref ref="{{ isolate.rootLib }}"></function-ref> | 1235 <function-ref ref="{{ isolate.rootLib }}"></function-ref> |
(...skipping 693 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1905 font: 400 14px 'Montserrat', sans-serif; | 1929 font: 400 14px 'Montserrat', sans-serif; |
1906 } | 1930 } |
1907 </style> | 1931 </style> |
1908 <div class="row"> | 1932 <div class="row"> |
1909 <div class="col-md-1"></div> | 1933 <div class="col-md-1"></div> |
1910 <div class="col-md-1"> | 1934 <div class="col-md-1"> |
1911 #{{ frame['depth'] }} | 1935 #{{ frame['depth'] }} |
1912 </div> | 1936 </div> |
1913 <div class="col-md-9"> | 1937 <div class="col-md-9"> |
1914 <function-ref ref="{{ frame['function'] }}"></function-ref> | 1938 <function-ref ref="{{ frame['function'] }}"></function-ref> |
1915 ( <script-ref ref="{{ frame['script'] }}" line="{{ frame['line'] }}"> | 1939 ( <script-ref ref="{{ frame['script'] }}" pos="{{ frame['tokenPos'] }}"> |
1916 </script-ref> ) | 1940 </script-ref> ) |
1917 | 1941 |
1918 <curly-block> | 1942 <curly-block> |
1919 <div class="memberList"> | 1943 <div class="memberList"> |
1920 <template repeat="{{ v in frame['vars'] }}"> | 1944 <template repeat="{{ v in frame['vars'] }}"> |
1921 <div class="memberItem"> | 1945 <div class="memberItem"> |
1922 <div class="memberName">{{ v['name']}}</div> | 1946 <div class="memberName">{{ v['name']}}</div> |
1923 <div class="memberValue"> | 1947 <div class="memberValue"> |
1924 <instance-ref ref="{{ v['value'] }}"></instance-ref> | 1948 <instance-ref ref="{{ v['value'] }}"></instance-ref> |
1925 </div> | 1949 </div> |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2083 <template> | 2107 <template> |
2084 <a href="{{ url }}">{{ ref.name }}</a> | 2108 <a href="{{ url }}">{{ ref.name }}</a> |
2085 </template> | 2109 </template> |
2086 | 2110 |
2087 </polymer-element> | 2111 </polymer-element> |
2088 | 2112 |
2089 | 2113 |
2090 <observatory-application></observatory-application> | 2114 <observatory-application></observatory-application> |
2091 | 2115 |
2092 </body></html> | 2116 </body></html> |
OLD | NEW |