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

Unified Diff: runtime/observatory/lib/src/elements/debugger.dart

Issue 2934973002: Address observatory analysis issues. (Closed)
Patch Set: Created 3 years, 6 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
« no previous file with comments | « no previous file | runtime/observatory/tests/observatory_ui/mocks/objects/isolate.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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:
« no previous file with comments | « no previous file | runtime/observatory/tests/observatory_ui/mocks/objects/isolate.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698