OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 library debugger_page_element; | 5 library debugger_page_element; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 import 'dart:svg'; | 8 import 'dart:svg'; |
9 import 'dart:html'; | 9 import 'dart:html'; |
10 import 'dart:math'; | 10 import 'dart:math'; |
(...skipping 1670 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1681 console.print('Breakpoint ${bpId} ${verb} at ${locString}'); | 1681 console.print('Breakpoint ${bpId} ${verb} at ${locString}'); |
1682 } else { | 1682 } else { |
1683 console.print('Future breakpoint ${bpId} ${verb} at ${locString}'); | 1683 console.print('Future breakpoint ${bpId} ${verb} at ${locString}'); |
1684 } | 1684 } |
1685 } | 1685 } |
1686 | 1686 |
1687 void onEvent(S.ServiceEvent event) { | 1687 void onEvent(S.ServiceEvent event) { |
1688 switch (event.kind) { | 1688 switch (event.kind) { |
1689 case S.ServiceEvent.kVMUpdate: | 1689 case S.ServiceEvent.kVMUpdate: |
1690 var vm = event.owner; | 1690 var vm = event.owner; |
1691 console.print("VM ${vm.target.networkAddress} renamed to '${vm.name}'"); | 1691 console.print("VM ${vm.displayName} renamed to '${vm.name}'"); |
1692 break; | 1692 break; |
1693 | 1693 |
1694 case S.ServiceEvent.kIsolateStart: | 1694 case S.ServiceEvent.kIsolateStart: |
1695 { | 1695 { |
1696 var iso = event.owner; | 1696 var iso = event.owner; |
1697 console.print("Isolate ${iso.number} '${iso.name}' has been created"); | 1697 console.print("Isolate ${iso.number} '${iso.name}' has been created"); |
1698 } | 1698 } |
1699 break; | 1699 break; |
1700 | 1700 |
1701 case S.ServiceEvent.kIsolateExit: | 1701 case S.ServiceEvent.kIsolateExit: |
(...skipping 1640 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3342 ..setAttribute('height', '24') | 3342 ..setAttribute('height', '24') |
3343 ..children = [ | 3343 ..children = [ |
3344 new PathElement() | 3344 new PathElement() |
3345 ..setAttribute( | 3345 ..setAttribute( |
3346 'd', | 3346 'd', |
3347 'M11 17h2v-6h-2v6zm1-15C6.48 2 2 6.48 2 12s4.48 10 ' | 3347 'M11 17h2v-6h-2v6zm1-15C6.48 2 2 6.48 2 12s4.48 10 ' |
3348 '10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 ' | 3348 '10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 ' |
3349 '0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zM11 ' | 3349 '0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zM11 ' |
3350 '9h2V7h-2v2z') | 3350 '9h2V7h-2v2z') |
3351 ]; | 3351 ]; |
OLD | NEW |