Index: runtime/observatory/lib/src/elements/debugger.dart |
diff --git a/runtime/observatory/lib/src/elements/debugger.dart b/runtime/observatory/lib/src/elements/debugger.dart |
index 0d14d06cd6f838fe80e5a4389b565bd93dd60f41..2cb465c8cb1c23b508e1f4e074ef15207802d205 100644 |
--- a/runtime/observatory/lib/src/elements/debugger.dart |
+++ b/runtime/observatory/lib/src/elements/debugger.dart |
@@ -5,14 +5,18 @@ |
library debugger_page_element; |
import 'dart:async'; |
-import 'dart:svg'; |
import 'dart:html'; |
import 'dart:math'; |
-import 'package:observatory/event.dart'; |
-import 'package:observatory/models.dart' as M; |
+import 'dart:svg'; |
+ |
+import 'package:logging/logging.dart'; |
import 'package:observatory/app.dart'; |
import 'package:observatory/cli.dart'; |
import 'package:observatory/debugger.dart'; |
+import 'package:observatory/event.dart'; |
+import 'package:observatory/models.dart' as M; |
+import 'package:observatory/service.dart' as S; |
+import 'package:observatory/service_common.dart'; |
import 'package:observatory/src/elements/function_ref.dart'; |
import 'package:observatory/src/elements/helpers/any_ref.dart'; |
import 'package:observatory/src/elements/helpers/nav_bar.dart'; |
@@ -27,8 +31,6 @@ import 'package:observatory/src/elements/nav/top_menu.dart'; |
import 'package:observatory/src/elements/nav/vm_menu.dart'; |
import 'package:observatory/src/elements/source_inset.dart'; |
import 'package:observatory/src/elements/source_link.dart'; |
-import 'package:observatory/service.dart' as S; |
-import 'package:logging/logging.dart'; |
// TODO(turnidge): Move Debugger, DebuggerCommand to debugger library. |
abstract class DebuggerCommand extends Command { |
@@ -1688,7 +1690,8 @@ class ObservatoryDebugger extends Debugger { |
switch (event.kind) { |
case S.ServiceEvent.kVMUpdate: |
var vm = event.owner; |
- console.print("VM ${vm.target.networkAddress} renamed to '${vm.name}'"); |
+ console.print( |
+ "VM ${(vm as CommonWebSocketVM).target.networkAddress} renamed to '${vm.name}'"); |
break; |
case S.ServiceEvent.kIsolateStart: |